diff options
| author | liuxueli <[email protected]> | 2020-04-30 13:49:43 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-04-30 13:49:43 +0800 |
| commit | 13a35867c5e04b57738b1a8b95631938561d2677 (patch) | |
| tree | 8d4e825ae68f63fd7cc4268cb60b32c20c20856d /CMakeLists.txt | |
| parent | a9c8dc1940ea802e792ed6f4eb39a1a5b73545a8 (diff) | |
修正默认安装路径,由/opt/MESA/lib/改为/home/mesasoft/sapp_run/
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 59f7512..f740203 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,9 +47,9 @@ else() endif() set(CPACK_RPM_USER_FILELIST "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/plug/protocol/dns/dns.inf" - "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/conf/dns/dns.conf") - + "%config(noreplace) ${CMAKE_INSTALL_PREFIX}/conf/dns/dns.conf") +set(CMAKE_INSTALL_PREFIX /home/mesasoft/sapp_run) install(TARGETS dns LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/protocol/dns COMPONENT LIBRARY) install(FILES bin/dns.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/protocol/dns COMPONENT PROFILE) install(FILES bin/dns.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/conf/dns COMPONENT PROFILE) @@ -64,7 +64,7 @@ add_library(dns_test SHARED ${DEMO}) set_target_properties(dns_test PROPERTIES PREFIX "") target_link_libraries(dns_test ${DNS_DEPEND_DYN_LIB}) -install(TARGETS dns_test LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test) -install(FILES test/bin/dns_test.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test) +install(TARGETS dns_test LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT LIBRARY) +install(FILES test/bin/dns_test.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT PROFILE) include(Package) |
