diff options
author | Soumith Chintala <soumith@fb.com> | 2016-02-01 02:52:18 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@fb.com> | 2016-02-01 02:52:18 +0300 |
commit | 512de5ece972e4390994f6545b2cb503c1f5d3a0 (patch) | |
tree | d8279b94a333529e3632136ce914abd83e065c54 /lua-5.1-rc | |
parent | 960ecb2e83b369a880a63ba771f466ba2a9d2429 (diff) |
making the PATH and CPATH cached (so that they are accessible by other projects in a larger cmake build
Diffstat (limited to 'lua-5.1-rc')
-rw-r--r-- | lua-5.1-rc/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lua-5.1-rc/CMakeLists.txt b/lua-5.1-rc/CMakeLists.txt index 1b94599..4cb813c 100644 --- a/lua-5.1-rc/CMakeLists.txt +++ b/lua-5.1-rc/CMakeLists.txt @@ -20,15 +20,12 @@ IF(WIN32) ELSE() SET(INSTALL_BIN_SUBDIR "bin" CACHE STRING "installation executable subdirectory name") SET(INSTALL_LIB_SUBDIR "lib" CACHE STRING "installation library subdirectory name") - SET(INSTALL_LUA_PATH_SUBDIR "share/lua/5.1") # not editable + SET(INSTALL_LUA_PATH_SUBDIR "share/lua/5.1/" CACHE STRING "lua path subdirectory name") SET(INSTALL_LUA_LIB_SUBDIR "lib" CACHE STRING "installation lua lib subdirectory name") - SET(INSTALL_LUA_CPATH_SUBDIR "${INSTALL_LUA_LIB_SUBDIR}/lua/5.1") # not editable + SET(INSTALL_LUA_CPATH_SUBDIR "${INSTALL_LUA_LIB_SUBDIR}/lua/5.1/" CACHE STRING "lua cpath subdirectory name") ENDIF() IF(UNIX) -# IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "/usr/local") -# ADD_DEFINITIONS(-DLUA_ROOT="${CMAKE_INSTALL_PREFIX}") -# ENDIF() SET(LUA_ROOT "${CMAKE_INSTALL_PREFIX}") ENDIF() |