From 4e04e1b0e2ae540b4cd44b6a81d85729740d49f3 Mon Sep 17 00:00:00 2001 From: HanatoK Date: Fri, 6 Dec 2024 16:30:52 -0600 Subject: [PATCH] build: try to build the test library with MSVC and OpenMP --- cmake/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 913d4bce2..1e37cf768 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -78,11 +78,7 @@ if(WARNINGS_ARE_ERRORS) endif() -if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - set(COLVARS_OPENMP_DEFAULT OFF) -else() - set(COLVARS_OPENMP_DEFAULT ON) -endif() +set(COLVARS_OPENMP_DEFAULT ON) option(COLVARS_OPENMP "Build Colvars with (still limited) OpenMP support" ${COLVARS_OPENMP_DEFAULT}) if(COLVARS_OPENMP)