|
|
@ -178,6 +178,9 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") |
|
|
|
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") |
|
|
|
# more tweaks |
|
|
|
# more tweaks |
|
|
|
|
|
|
|
if (NOT (MSVC OR MSYS OR APPLE)) |
|
|
|
|
|
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++" ) |
|
|
|
|
|
|
|
endif() |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
if (WITH_HARDENING AND MSVC) |
|
|
|
if (WITH_HARDENING AND MSVC) |
|
|
@ -457,6 +460,12 @@ if (WITH_BINARY) |
|
|
|
fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") |
|
|
|
fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") |
|
|
|
" COMPONENT Runtime) |
|
|
|
" COMPONENT Runtime) |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") |
|
|
|
|
|
|
|
if (NOT (MSVC OR MSYS OR APPLE)) # for Clang build on Linux |
|
|
|
|
|
|
|
target_link_libraries("${PROJECT_NAME}" stdc++) |
|
|
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
endif() |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
install(FILES ../LICENSE |
|
|
|
install(FILES ../LICENSE |
|
|
|