We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3fda66 commit cc55921Copy full SHA for cc55921
1 file changed
cmake/CMakeLists.txt
@@ -35,11 +35,10 @@ else()
35
set(RELEASE_VERSION "0.8.0")
36
endif()
37
38
-project(IfcOpenShell VERSION ${RELEASE_VERSION})
39
-
40
add_definitions(-D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
41
42
if(POLICY CMP0141) # 3.25+
+ # Has to be set before `project` to take effect.
43
cmake_policy(SET CMP0141 NEW) # Support for `CMAKE_MSVC_DEBUG_INFORMATION_FORMAT`.
44
45
if(POLICY CMP0144) # 3.27
@@ -49,6 +48,8 @@ if(POLICY CMP0167) # 3.30
49
48
cmake_policy(SET CMP0167 OLD)
50
51
+project(IfcOpenShell VERSION ${RELEASE_VERSION})
52
+
53
if(NOT CMAKE_BUILD_TYPE)
54
set(CMAKE_BUILD_TYPE "Release")
55
0 commit comments