Dep: Inherit C++ language version from CMake

This commit is contained in:
jackpoz authored and Ovahlord committed 2020-03-16 14:14:46 +01:00
1 parent dd990856c0
commit fdd986ec46
3 files changed
+6

No files matched your search

+2
View File
@@ -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)
+2
View File
@@ -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})
+2
View File
@@ -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})