diff options
-rw-r--r-- | dep/SFMT/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dep/argon2/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dep/bzip2/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dep/zlib/CMakeLists.txt | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/dep/SFMT/CMakeLists.txt b/dep/SFMT/CMakeLists.txt index 79777f8c549..04cfcc2a11b 100644 --- a/dep/SFMT/CMakeLists.txt +++ b/dep/SFMT/CMakeLists.txt @@ -74,5 +74,7 @@ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "i686|amd64|x86_64|AMD64") target_compile_definitions(sfmt PUBLIC -DHAVE_SSE2) endif () +set_target_properties(sfmt PROPERTIES LINKER_LANGUAGE CXX) + # inherit trinitycore generic build options (e.g. fPIC) target_link_libraries(sfmt PRIVATE trinity-dependency-interface) diff --git a/dep/argon2/CMakeLists.txt b/dep/argon2/CMakeLists.txt index 8302406d68b..4aafd1bf2dd 100644 --- a/dep/argon2/CMakeLists.txt +++ b/dep/argon2/CMakeLists.txt @@ -25,6 +25,8 @@ target_compile_definitions(argon2 PRIVATE -DARGON2_NO_THREADS) +set_target_properties(argon2 PROPERTIES LINKER_LANGUAGE CXX) + target_include_directories(argon2 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/dep/bzip2/CMakeLists.txt b/dep/bzip2/CMakeLists.txt index 879d48c97c9..fa4eb62bde3 100644 --- a/dep/bzip2/CMakeLists.txt +++ b/dep/bzip2/CMakeLists.txt @@ -26,6 +26,8 @@ else() add_library(bzip2 STATIC ${sources}) + set_target_properties(bzip2 PROPERTIES LINKER_LANGUAGE CXX) + target_include_directories(bzip2 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/dep/zlib/CMakeLists.txt b/dep/zlib/CMakeLists.txt index 6a8030a0ac4..4640203d71e 100644 --- a/dep/zlib/CMakeLists.txt +++ b/dep/zlib/CMakeLists.txt @@ -39,6 +39,8 @@ else() add_library(zlib STATIC ${zlib_STAT_SRCS}) + set_target_properties(zlib PROPERTIES LINKER_LANGUAGE CXX) + target_include_directories(zlib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |