File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ function(print_flags_per_config config indent_num)
22
22
get_target_interface (definitions "${config} " core_interface COMPILE_DEFINITIONS )
23
23
indent_message ("Preprocessor defined macros ..........." "${definitions} " ${indent_num} )
24
24
25
- string (STRIP "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${config_uppercase} }" combined_cxx_flags )
25
+ string (STRIP "${CMAKE_CXX_COMPILER_ARG1} ${CMAKE_CXX_FLAGS} " combined_cxx_flags )
26
+ string (STRIP "${combined_cxx_flags} ${CMAKE_CXX_FLAGS_${config_uppercase} }" combined_cxx_flags )
26
27
string (STRIP "${combined_cxx_flags} ${CMAKE_CXX${CMAKE_CXX_STANDARD} _STANDARD_COMPILE_OPTION}" combined_cxx_flags )
27
28
if (CMAKE_POSITION_INDEPENDENT_CODE )
28
29
string (JOIN " " combined_cxx_flags ${combined_cxx_flags} ${CMAKE_CXX_COMPILE_OPTIONS_PIC} )
You can’t perform that action at this time.
0 commit comments