summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorpengxuanzheng <[email protected]>2020-09-07 10:37:18 +0800
committerpengxuanzheng <[email protected]>2020-09-07 10:37:18 +0800
commit0864e4a78a8412de14e1269ac0171836a2d65880 (patch)
treefc8fbc0e350e07cddfc79e213502e641bcc1dc6a /CMakeLists.txt
parentd856928ece4633e546d2875e928d052f13c85b92 (diff)
20200904v1.0.7
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa19bf0..49a428e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,13 +11,11 @@ set(CMAKE_MACOSX_RPATH 0)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
-set(CMAKE_INSTALL_PREFIX /usr/local/lib)
+set(CMAKE_INSTALL_PREFIX /opt/MESA)
add_subdirectory(support)
add_subdirectory(src)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/src/libtsglua.so DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT PROFILE)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/src/libtsglua.a DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT PROFILE)
-
-include(Package)
+install(FILES ./src/tsg_lua_interface.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/MESA COMPONENT HEADER)
+include(Package) \ No newline at end of file