We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4779402 commit 1afb808Copy full SHA for 1afb808
cmake/FlagsSummary.cmake
@@ -30,7 +30,8 @@ function(print_flags_per_config config indent_num)
30
indent_message("C compiler flags ......................" "${c_compiler_flags}" ${indent_num})
31
32
if(BUILD_SHARED_LIBS)
33
- string(STRIP "${CMAKE_SHARED_LINKER_FLAGS} ${CMAKE_SHARED_LINKER_FLAGS_${config_uppercase}}" linker_flags)
+ string(STRIP "${CMAKE_SHARED_LIBRARY_C_FLAGS} ${CMAKE_SHARED_LINKER_FLAGS}" linker_flags)
34
+ string(STRIP "${linker_flags} ${CMAKE_SHARED_LINKER_FLAGS_${config_uppercase}}" linker_flags)
35
if(NOT MSVC)
36
string(STRIP "${c_language_flags} ${linker_flags}" linker_flags)
37
endif()
0 commit comments