Commit 06f8b2b4 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED (tentative) force compiler exe names

parent c3c2c418
......@@ -94,6 +94,9 @@ elseif(WIN32)
set(CTEST_CMAKE_GENERATOR "Visual Studio 15 2017 Win64" )
elseif(COMPILER MATCHES "Ninja")
set(CTEST_CMAKE_GENERATOR "Ninja")
# ninja cannot find the compiler
set(ENV{CC} "cl.exe")
set(ENV{CXX} "cl.exe")
else()
message(FATAL_ERROR "CTEST COMPILER ERROR : No proper compiler found, please check ctest command syntax.")
endif()
......
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