From 9d45e553fba8688155ff50723c22d2e4b6db6f60 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Mon, 12 Jul 2021 19:25:07 +0200 Subject: Fix windows build on CI GIT_SILENT --- kde-modules/KDECompilerSettings.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kde-modules/KDECompilerSettings.cmake') diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake index ec2d5abd..ce20fdf7 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake @@ -600,6 +600,9 @@ option(ENABLE_BSYMBOLICFUNCTIONS "Make use of -Bsymbolic-functions" OFF) if (ENABLE_BSYMBOLICFUNCTIONS) set(_SYMBOLIC_FUNCTIONS_COMPILER_OPTION "-Wl,-Bsymbolic-functions") list(APPEND CMAKE_REQUIRED_LIBRARIES "${_SYMBOLIC_FUNCTIONS_COMPILER_OPTION}") + + include(CheckCXXSourceCompiles) + check_cxx_source_compiles( "int main () { return 0; }" BSYMBOLICFUNCTIONS_AVAILABLE ) list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "${_SYMBOLIC_FUNCTIONS_COMPILER_OPTION}") if (BSYMBOLICFUNCTIONS_AVAILABLE) -- cgit v1.2.1