Skip to content

Commit

Permalink
build: try to build the test library with MSVC and OpenMP
Browse files Browse the repository at this point in the history
  • Loading branch information
HanatoK authored and giacomofiorin committed Dec 6, 2024
1 parent d9f0162 commit 4e04e1b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4e04e1b

Please sign in to comment.