Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kafeg committed Oct 16, 2019
1 parent 8ce3b17 commit ec0973f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ if (NOT BUILD_SERVER)
endif()

find_package(OpenSSL REQUIRED)
find_package(Bzip2 REQUIRED)
find_package(Zlib REQUIRED)
find_package(BZip2 REQUIRED)
find_package(ZLIB REQUIRED)
find_library(DBLCONV_LIBRARIES NAMES pcre2 double-conversion)

list(APPEND ADDITIONAL_LIBS ${PCRE2_LIBRARIES} OpenSSL::SSL OpenSSL::Crypto ${BZIP2_LIBRARIES} ${ZLIB_LIBRARIES} ${DBLCONV_LIBRARIES})
Expand All @@ -69,7 +69,10 @@ if (NOT BUILD_SERVER)
list(APPEND ADDITIONAL_LIBS ${LIBS_MACOS})

elseif(UNIX AND NOT APPLE)
#todo
set(LIBS_LINUX
"-lpthread -ldl -static-libstdc++"
)
list(APPEND ADDITIONAL_LIBS ${LIBS_LINUX})
endif()
endif()

Expand Down

0 comments on commit ec0973f

Please sign in to comment.