diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index beeec4d..7f2701b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -45,6 +45,12 @@ endif(WIN32) | |||
45 | SET_TARGET_PROPERTIES(core PROPERTIES PREFIX "") | 45 | SET_TARGET_PROPERTIES(core PROPERTIES PREFIX "") |
46 | 46 | ||
47 | # Install all files and documentation | 47 | # Install all files and documentation |
48 | set(INSTALL_LMOD share/lua/lmod CACHE PATH "Directory to install Lua modules.") | ||
49 | set(INSTALL_CMOD share/lua/cmod CACHE PATH "Directory to install Lua binary modules.") | ||
50 | set(INSTALL_DATA share/${PROJECT_NAME} CACHE PATH "Directory the package can store documentation, tests or other data in.") | ||
51 | set(INSTALL_DOC ${INSTALL_DATA}/doc CACHE PATH "Recommended directory to install documentation into.") | ||
52 | set(INSTALL_TEST ${INSTALL_DATA}/test CACHE PATH "Recommended directory to install tests into.") | ||
53 | |||
48 | INSTALL (TARGETS core DESTINATION ${INSTALL_CMOD}) | 54 | INSTALL (TARGETS core DESTINATION ${INSTALL_CMOD}) |
49 | INSTALL (FILES src/lanes.lua DESTINATION ${INSTALL_LMOD}) | 55 | INSTALL (FILES src/lanes.lua DESTINATION ${INSTALL_LMOD}) |
50 | 56 | ||