diff --git a/3rdParty/MuParser/CMakeLists.txt b/3rdParty/MuParser/CMakeLists.txt index a2c5742f7348ef6762c6fbda1bf55725d77c0a14..a77276825e3280ae298eced80ea0b498e27d4bf2 100644 --- a/3rdParty/MuParser/CMakeLists.txt +++ b/3rdParty/MuParser/CMakeLists.txt @@ -14,7 +14,7 @@ set(MUPARSER_VERSION ${MUPARSER_VERSION_MAJOR}.${MUPARSER_VERSION_MINOR}.${MUPAR # Build options option(ENABLE_SAMPLES "Build the samples" OFF) -option(ENABLE_OPENMP "Enable OpenMP for multithreading" ON) +#option(ENABLE_OPENMP "Enable OpenMP for multithreading" ON) #option(BUILD_SHARED_LIBS "Build shared/static libs" ON) @@ -60,7 +60,7 @@ if (CMAKE_BUILD_TYPE STREQUAL Debug) target_compile_definitions(muparser PRIVATE _DEBUG) endif () -if(ENABLE_OPENMP) +if(USE_OPENMP) target_compile_definitions(muparser PRIVATE MUP_USE_OPENMP) endif() set_target_properties(muparser PROPERTIES