Skip to content

Commit e6986fa

Browse files
authored
Fix for C++ runtime when OpenMP was not found (#10496)
1 parent 6dec7df commit e6986fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OMCompiler/SimulationRuntime/cpp/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ IF(OPENMP_FOUND)
374374
ELSE(OPENMP_FOUND)
375375
MESSAGE(STATUS "OPENMP disabled")
376376
SET(USE_OPENMP_ "OFF")
377+
SET(OpenMP_CXX_FLAGS "")
377378
ENDIF(OPENMP_FOUND)
378379

379380
# Find MPI

0 commit comments

Comments
 (0)