aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dep/SFMT/CMakeLists.txt2
-rw-r--r--dep/argon2/CMakeLists.txt2
-rw-r--r--dep/zlib/CMakeLists.txt2
3 files changed, 6 insertions, 0 deletions
diff --git a/dep/SFMT/CMakeLists.txt b/dep/SFMT/CMakeLists.txt
index 84f5cc6afc4..0e66f6598e8 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/zlib/CMakeLists.txt b/dep/zlib/CMakeLists.txt
index d1c8295c111..49b25277a2f 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})