summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2019-07-03 17:49:50 +0800
committerliuxueli <[email protected]>2019-07-03 17:49:50 +0800
commit2d4de570b60fbfdac6f4a122351f73a6339e5d0e (patch)
tree258f534cc7069fc6a59ec47b98bd2534e0230e82
parent401b1c499d9df5dfb923b9a1bfc2497c125a5867 (diff)
t1和t2的安装前缀分开
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3c2234a..8d2c127 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,10 +41,11 @@ endif ()
#set(CMAKE_VERBOSE_MAKEFILE ON)
#set(CMAKE_COLOR_MAKEFILE ON)
set(ALLOW_DUPLICATE_CUSTOM_TARGETS TRUE)
-set(CMAKE_INSTALL_PREFIX /home/mesasoft/sapp)
set(CPACK_RPM_DEBUGINFO_PACKAGE ON)
if(ENABLE_T1_SWITCH)
+ set(CMAKE_INSTALL_PREFIX /home/mesasoft/sapp)
+
add_subdirectory(src/ntc_app_plug)
add_subdirectory(src/ntc_http_collect)
add_subdirectory(src/ntc_ip_comm)
@@ -55,6 +56,8 @@ if(ENABLE_T1_SWITCH)
endif()
if(ENABLE_T2_SWITCH)
+ set(CMAKE_INSTALL_PREFIX /home/mesasoft/maskey2.0)
+
add_subdirectory(src/T2_HTTP_MAIL_BIZ)
endif()