Skip to content

Commit

Permalink
[cmake] Assume we always have C++11 threads.
Browse files Browse the repository at this point in the history
  - Threads support is needed for HPCOM CPP runtime tests.
  - It is a fair assumption for now. If it needs to be checked and enabled
    we will do that later.
  • Loading branch information
mahge committed Oct 6, 2021
1 parent 6fee5fc commit dc09ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt
Expand Up @@ -8,7 +8,7 @@ set(Boost_INCLUDE_ ".")
set(Boost_LIBS_ ".")
set(LAPACK_LIBS_ ".")
set(LAPACK_LIBRARIES_ "-llapack -lblas")
set(SYSTEM_CFLAGS ${SYSTEM_CFLAGS} "-DOMC_BUILD -fPIC")
set(SYSTEM_CFLAGS ${SYSTEM_CFLAGS} "-DOMC_BUILD -fPIC -DUSE_THREAD")

configure_file(Modelica/ModelicaLibraryConfig_gcc.inc.in ${CMAKE_CURRENT_BINARY_DIR}/ModelicaLibraryConfig_gcc.inc)
configure_file(Modelica/ModelicaConfig_gcc.inc.in ${CMAKE_CURRENT_BINARY_DIR}/ModelicaConfig_gcc.inc)
Expand Down

0 comments on commit dc09ba2

Please sign in to comment.