title: Why Lua 5.3 can not find the path of include (missing: LUA_INCLUDE_DIR)
body: <p>Good day,
  I recently could install Lua 5.3 to /opt/lua53 on Centos 7
  I also added the following line into /etc/bashrc</p>
  
  <pre><code>PATH=/opt/lua35/bin:$PATH
  LD_LIBRARY_PATH=/opt/lua53/lib:$LD_LIBRARY_PATH
  export PATH LD_LIBRARY_PATH
  export LUA_INCLUDE_DIR=/opt/lua53/include
  </code></pre>
  
  <p>My colleague also install a software and when I compile by doing</p>
  
  <pre><code>make
  </code></pre>
  
  <p>I got the following errors</p>
  
  <blockquote>
    <p>[root@pc6 jixie]# make
    -- Release Build
    -- Could NOT find Lua (missing: LUA_INCLUDE_DIR) (Required is at least version "5.2")
    -- Could NOT find ZEROMQPP (missing: ZEROMQPP_LIBRARIES ZEROMQPP_INCLUDE_DIRS) 
    -- Could NOT find OPENVDB (missing: OPENVDB_LIBRARIES OPENVDB_INCLUDE_DIRS) 
    -- Downloading/updating kdtree
    -- Configuring done
    -- Generating done</p>
  </blockquote>
  
  <p>I look into serveral thread but none of then could help me.</p>
  
  <p>As I wrote, I added the following line</p>
  
  <pre><code>export LUA_INCLUDE_DIR=/opt/lua53/include
  </code></pre>
  
  <p>hoping it can provide the path to LUA_INCLUDE_DIR, but unfortunately I still get the same error.</p>
  
  <p>Any idea how I can solve my problem? DO you need more information of my system?</p>
  
  <p><strong>NB: I am using cmake 3.10</strong></p>