Commit ee45fce4 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'GenerateExportHeader-fix-add_compiler_export_flags'

0cbaaf2d GenerateExportHeader: Fix add_compiler_export_flags regression
parents 0ba0c67b 0cbaaf2d
......@@ -415,6 +415,7 @@ function(add_compiler_export_flags)
if(ARGC GREATER 0)
set(${ARGV0} "${EXTRA_FLAGS}" PARENT_SCOPE)
else()
string(APPEND CMAKE_CXX_FLAGS " ${EXTRA_FLAGS}" PARENT_SCOPE)
string(APPEND CMAKE_CXX_FLAGS " ${EXTRA_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" PARENT_SCOPE)
endif()
endfunction()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment