Skip to content
Snippets Groups Projects
Commit 3e9b653e authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: pass C & CXX compiler to ExternalProject call

parent c6d21d79
No related branches found
No related tags found
No related merge requests found
......@@ -150,8 +150,12 @@ if(UNIX)
endif()
endif()
set(SB_CMAKE_ARGS)
list(APPEND SB_CMAKE_ARGS "-G${CMAKE_GENERATOR}")
list(APPEND SB_CMAKE_ARGS "-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}")
list(APPEND SB_CMAKE_ARGS "-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}")
set(SB_CMAKE_COMMAND ${CMAKE_COMMAND} ${SB_CMAKE_ARGS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment