From 83049bf41a9feb2c2094a9ad7e9850e24745a651 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 13 Jul 2021 10:52:45 +0200 Subject: [PATCH] Update CMakeLists.txt --- cmake/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 627225e51b..e60deb9593 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -417,7 +417,7 @@ if(HDF5_SUPPORT) if (HDF5_LIBRARY_DIR) # result of the HDF5 ctest package - if (win32) + if (WIN32) set(zlib_post lib) set(lib_ext lib) else() @@ -474,7 +474,8 @@ if(ENABLE_BUILD_OPTIMIZATIONS) endif() IF(MSVC) - add_definitions(/MP) + # didn't work well on ifcopenbot, @todo make configurable + # add_definitions(/MP) # Enable solution folders (free VS versions prior to 2012 don't support solution folders) if (MSVC_VERSION GREATER 1600)