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 fb0b2c8 commit a43f134Copy full SHA for a43f134
CMakeLists.txt
@@ -87,7 +87,7 @@ if (VTR_IPO_BUILD STREQUAL "on")
87
message(ERROR "Building with IPO unsupported with this compiler!")
88
endif()
89
elseif(VTR_IPO_BUILD STREQUAL "auto")
90
- if (IPO_SUPPORTED)
+ if (IPO_SUPPORTED AND NOT CMAKE_BUILD_TYPE STREQUAL "debug")
91
message(STATUS "Building with IPO: on (auto)")
92
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
93
else()
0 commit comments