Skip to content

Commit 9e7d107

Browse files
committed
Improve CMakeLists
1 parent 52f5f67 commit 9e7d107

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ endif ()
2626
message(STATUS "librdkafka root directory: ${LIBRDKAFKA_ROOT}")
2727

2828
include_directories(SYSTEM ${LIBRDKAFKA_ROOT}/include)
29-
link_directories(SYSTEM ${LIBRDKAFKA_ROOT}/lib)
29+
link_directories(${LIBRDKAFKA_ROOT}/lib)
3030

3131

3232
#---------------------------

tests/integration/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
project("kafka-integration-test")
22

33
# Directories
4-
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
5-
64
include_directories(SYSTEM ${GTEST_ROOT}/include)
7-
link_directories(SYSTEM ${GTEST_ROOT}/lib)
5+
link_directories(${GTEST_ROOT}/lib)
86

97
# Target
108
file(GLOB TEST_SRCS *.cc)

tests/robustness/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
project("kafka-robustness-test")
22

33
# Directories
4-
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
5-
64
include_directories(SYSTEM ${GTEST_ROOT}/include)
7-
link_directories(SYSTEM ${GTEST_ROOT}/lib)
5+
link_directories(${GTEST_ROOT}/lib)
86

97
# Target
108
file(GLOB TEST_SRCS *.cc)

tests/unit/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ project("kafka-unit-test")
22

33
# Directories
44
include_directories(SYSTEM ${GTEST_ROOT}/include)
5-
link_directories(SYSTEM ${GTEST_ROOT}/lib)
5+
link_directories(${GTEST_ROOT}/lib)
66

77
# Target
88
file(GLOB TEST_SRCS *.cc)

0 commit comments

Comments
 (0)