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 6efd7e9 commit 5839ddfCopy full SHA for 5839ddf
src/nbl/builtin/utils.cmake
@@ -165,6 +165,8 @@ function(ADD_CUSTOM_BUILTIN_RESOURCES _TARGET_NAME_ _BUNDLE_NAME_ _BUNDLE_SEARCH
165
166
if(MSVC)
167
list(APPEND _BR_COMPILE_OPTIONS_ /constexpr:steps${_BR_CONSTEXPR_STEPS_})
168
+ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
169
+ list(APPEND _BR_COMPILE_OPTIONS_ -fconstexpr-ops-limit=${_BR_CONSTEXPR_STEPS_})
170
else()
171
list(APPEND _BR_COMPILE_OPTIONS_ -fconstexpr-steps=${_BR_CONSTEXPR_STEPS_})
172
endif()
0 commit comments