summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorpengxuanzheng <[email protected]>2020-09-11 14:14:08 +0800
committerpengxuanzheng <[email protected]>2020-09-11 14:14:08 +0800
commitc442fb51354754a029799b2efb26e016e9375d95 (patch)
tree1d1c011e82829be3c7f70fd199ab067e0430b8bc /CMakeLists.txt
parentc267f5b51a7014dcd95112cc53a11182b44b5936 (diff)
Develop 09.09
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 49a428e..4a2b043 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,10 +12,12 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
set(CMAKE_INSTALL_PREFIX /opt/MESA)
+set(LUAJIT_INSTALL_PREFIX /usr/local)
add_subdirectory(support)
add_subdirectory(src)
install(FILES ./src/tsg_lua_interface.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/MESA COMPONENT HEADER)
+install(PROGRAMS ./example/checktools/checktools.lua DESTINATION ${LUAJIT_INSTALL_PREFIX}/bin)
-include(Package) \ No newline at end of file
+include(Package)