Skip to content

Commit

Permalink
Use mingw32-make only on Windows-MinGW. (#9569)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahge committed Oct 20, 2022
1 parent d3886df commit 4cd093e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion OMCompiler/Compiler/runtime/CMakeLists.txt
Expand Up @@ -242,7 +242,12 @@ endif()
# For anything that is issued through SystemCall use this mingw32-make (instead of just 'make'
# which is the MSYS make.) since the latter is not supposed to be used on Windows shells.
# (systemCall uses 'cmd \c' to issue commands.)
set(OMC_MAKE_EXE "mingw32-make")
if (MINGW)
set(OMC_MAKE_EXE "mingw32-make")
else()
set(OMC_MAKE_EXE "make")
endif()

set(OMC_CMAKE_EXE "${CMAKE_COMMAND}")

string(REPLACE ";" " " LAPACK_LIBRARIES_SPACE "${LAPACK_LIBRARIES}")
Expand Down

0 comments on commit 4cd093e

Please sign in to comment.