aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
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)
45SET_TARGET_PROPERTIES(core PROPERTIES PREFIX "") 45SET_TARGET_PROPERTIES(core PROPERTIES PREFIX "")
46 46
47# Install all files and documentation 47# Install all files and documentation
48set(INSTALL_LMOD share/lua/lmod CACHE PATH "Directory to install Lua modules.")
49set(INSTALL_CMOD share/lua/cmod CACHE PATH "Directory to install Lua binary modules.")
50set(INSTALL_DATA share/${PROJECT_NAME} CACHE PATH "Directory the package can store documentation, tests or other data in.")
51set(INSTALL_DOC ${INSTALL_DATA}/doc CACHE PATH "Recommended directory to install documentation into.")
52set(INSTALL_TEST ${INSTALL_DATA}/test CACHE PATH "Recommended directory to install tests into.")
53
48INSTALL (TARGETS core DESTINATION ${INSTALL_CMOD}) 54INSTALL (TARGETS core DESTINATION ${INSTALL_CMOD})
49INSTALL (FILES src/lanes.lua DESTINATION ${INSTALL_LMOD}) 55INSTALL (FILES src/lanes.lua DESTINATION ${INSTALL_LMOD})
50 56