From e597bd20ea475704874fa44b25ff7742d32cf75e Mon Sep 17 00:00:00 2001 From: Soeren Peters <peters@irmb.tu-bs.de> Date: Wed, 21 Oct 2020 10:22:05 +0200 Subject: [PATCH] Use the new USE_OPENMP variable in muparser. --- 3rdParty/MuParser/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdParty/MuParser/CMakeLists.txt b/3rdParty/MuParser/CMakeLists.txt index a2c5742f7..a77276825 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 -- GitLab