Commit 79f7819b authored by Casey Goodlett's avatar Casey Goodlett
Browse files

Fix pass down of compiler command in superbuild

parent fb36fa91
......@@ -250,10 +250,12 @@ endfunction()
function(add_external_project_internal name)
set (cmake_params)
foreach (flag CMAKE_BUILD_TYPE
CMAKE_C_COMPILER
CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_CXX_COMPILER
CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_RELEASE
......
Supports Markdown
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