Skip to content

Commit

Permalink
A fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jul 1, 2024
1 parent 4779402 commit 1afb808
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/FlagsSummary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ function(print_flags_per_config config indent_num)
indent_message("C compiler flags ......................" "${c_compiler_flags}" ${indent_num})

if(BUILD_SHARED_LIBS)
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)
string(STRIP "${linker_flags} ${CMAKE_SHARED_LINKER_FLAGS_${config_uppercase}}" linker_flags)
if(NOT MSVC)
string(STRIP "${c_language_flags} ${linker_flags}" linker_flags)
endif()
Expand Down

0 comments on commit 1afb808

Please sign in to comment.