diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2021-07-12 19:25:07 +0200 | 
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-07-12 19:25:07 +0200 | 
| commit | 9d45e553fba8688155ff50723c22d2e4b6db6f60 (patch) | |
| tree | 3416f90acccf7f266338d14cb6a506f4f85f5e24 | |
| parent | c30d943a034224f79b3d5bae239bd396ea24db9e (diff) | |
| download | extra-cmake-modules-9d45e553fba8688155ff50723c22d2e4b6db6f60.tar.gz extra-cmake-modules-9d45e553fba8688155ff50723c22d2e4b6db6f60.tar.bz2 | |
Fix windows build on CI
GIT_SILENT
| -rw-r--r-- | kde-modules/KDECompilerSettings.cmake | 3 | 
1 files changed, 3 insertions, 0 deletions
| 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) | 
