File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${MY_C_FLAGS} -ggdb3")
12
12
13
13
find_package (Tarantool REQUIRED )
14
14
15
- set (STATIC_BUILD "OFF" , CACHE BOOL "Link dependencies statically?" )
15
+ set (STATIC_BUILD "OFF" CACHE BOOL "Link dependencies statically?" )
16
16
set (WITH_OPENSSL_1_1 "OFF" CACHE BOOL "Require openssl version >= 1.1?" )
17
17
18
18
if (WITH_OPENSSL_1_1 )
@@ -43,8 +43,7 @@ if(STATIC_BUILD)
43
43
44
44
set (RDKAFKA_LIBRARY ${RDKAFKA_LIBRARY} librdkafka_static )
45
45
else ()
46
- set (RDKAFKA_FIND_REQUIRED ON )
47
- find_package (RdKafka )
46
+ find_package (RDKAFKA REQUIRED )
48
47
# Link RdKafka transitive dependencies manually
49
48
set (RDKAFKA_LIBRARY ${RDKAFKA_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY} ${OPENSSL_SSL_LIBRARY} )
50
49
endif ()
You can’t perform that action at this time.
0 commit comments