diff --git a/contrib/test/craft/CMakeLists.txt b/contrib/test/craft/CMakeLists.txt index e0f6ae64bd3e9c998db15c1006cebf1b15702f5b..d4d5a6365f36a084552b41e4d9198a66c8fbc24e 100644 --- a/contrib/test/craft/CMakeLists.txt +++ b/contrib/test/craft/CMakeLists.txt @@ -1,2 +1,2 @@ add_executable(simulate_vnode "simulate_vnode.c") -target_link_libraries(simulate_vnode PUBLIC craft lz4 uv_a) \ No newline at end of file +target_link_libraries(simulate_vnode craft lz4 uv_a) \ No newline at end of file diff --git a/contrib/test/tdev/CMakeLists.txt b/contrib/test/tdev/CMakeLists.txt index d173e8d24a0a23302881b4be8f81d39e35880edb..a1657a7a692ce7ecb05a432fb38eb16d378aef91 100644 --- a/contrib/test/tdev/CMakeLists.txt +++ b/contrib/test/tdev/CMakeLists.txt @@ -1,4 +1,4 @@ aux_source_directory(src TDEV_SRC) add_executable(tdev ${TDEV_SRC}) -target_include_directories(tdev PUBLIC inc) \ No newline at end of file +target_include_directories(tdev inc) \ No newline at end of file diff --git a/contrib/test/traft/single_node/CMakeLists.txt b/contrib/test/traft/single_node/CMakeLists.txt index 666ce271b856d405b9b9e6e07014f69fb6b709f8..84b65978b9cfa8ed7e0bd6ce5203dd09a16d8fea 100644 --- a/contrib/test/traft/single_node/CMakeLists.txt +++ b/contrib/test/traft/single_node/CMakeLists.txt @@ -3,4 +3,4 @@ target_sources(singleNode PRIVATE "singleNode.c" ) -target_link_libraries(singleNode PUBLIC traft lz4 uv_a) +target_link_libraries(singleNode traft lz4 uv_a) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 71a9f9f4c59e288dc304bd7887f4ef454fa41284..51e1e996dc2d6f634e185a843a71bb3c24d91634 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -2,11 +2,7 @@ aux_source_directory(src TMQ_DEMO_SRC) add_executable(tmq ${TMQ_DEMO_SRC}) target_link_libraries( - tmq - PUBLIC taos - #PUBLIC util - #PUBLIC common - #PUBLIC os + tmq taos ) target_include_directories( tmq diff --git a/source/libs/qcom/CMakeLists.txt b/source/libs/qcom/CMakeLists.txt index c63e54fb9b014d0e166187605b06cf4715b4015a..a9bf0f5594cb0bc36c2eee84c4fb373507b4118e 100644 --- a/source/libs/qcom/CMakeLists.txt +++ b/source/libs/qcom/CMakeLists.txt @@ -1,5 +1,5 @@ aux_source_directory(src QUERY_SRC) -add_library(qcom ${QUERY_SRC}) +add_library(qcom STATIC ${QUERY_SRC}) target_include_directories( qcom PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/qcom"