summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-08-13 16:56:39 +0800
committeryangwei <[email protected]>2023-08-16 12:06:35 +0800
commitb6cd96a4f95e8ee0bdfdb47533a2009913d7dc64 (patch)
tree98fa9f083b75f5f338788c2d447a78e3c2551d02 /CMakeLists.txt
parentc15a6c0e626e568cf768acc9d76db43a1fee0353 (diff)
✨ feat(session_mq_subscribe_topic): remove plugin_id in parameter
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 36174d7..3fb510d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,9 +17,6 @@ if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set (CMAKE_INSTALL_PREFIX "/opt/tsg/sapp" CACHE PATH "default install path" FORCE)
endif()
-option(ENABLE_PIC "Generate position independent code (necessary for shared libraries)" TRUE)
-option(ENABLE_WARNING_ALL "Enable all optional warnings which are desirable for normal code" TRUE)
-
find_program(CMAKE_CXX_CPPCHECK NAMES cppcheck)
if (CMAKE_CXX_CPPCHECK)
list(
@@ -65,9 +62,6 @@ elseif(ASAN_OPTION STREQUAL "THREAD")
add_definitions(-DASAN_ENABLED=1)
endif()
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
-set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lelf")
add_custom_target("install-program" COMMAND ${CMAKE_COMMAND} ARGS -DCOMPONENT=Program -P cmake_install.cmake)
add_custom_target("install-profile" COMMAND ${CMAKE_COMMAND} ARGS -DCOMPONENT=Profile -P cmake_install.cmake)