Skip to content

Commit

Permalink
A fix?
Browse files Browse the repository at this point in the history
A true fix
  • Loading branch information
hebasto committed Jul 1, 2024
1 parent 4779402 commit 798e9a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/FlagsSummary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ function(print_flags_per_config config indent_num)

if(BUILD_SHARED_LIBS)
string(STRIP "${CMAKE_SHARED_LINKER_FLAGS} ${CMAKE_SHARED_LINKER_FLAGS_${config_uppercase}}" linker_flags)
if(NOT APPLE AND NOT MSVC)
string(STRIP "${CMAKE_SHARED_LIBRARY_C_FLAGS} ${linker_flags}" linker_flags)
endif()
if(NOT MSVC)
string(STRIP "${c_language_flags} ${linker_flags}" linker_flags)
endif()
Expand Down

0 comments on commit 798e9a2

Please sign in to comment.