mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-15 13:48:09 +00:00
CMakeLists - fix issue on msvc >= 14.40 #5158
This commit is contained in:
@@ -730,6 +730,10 @@ if(MSVC)
|
|||||||
# endif()
|
# endif()
|
||||||
|
|
||||||
add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
|
add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
|
||||||
|
# See #5158.
|
||||||
|
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.40)
|
||||||
|
add_definitions(-D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
add_definitions(-Wall -Wextra)
|
add_definitions(-Wall -Wextra)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user