Browse Source

build: fix delegate compare test in Release mode (#1242)

Justin Braben 1 year ago
parent
commit
9d4db9738a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/CMakeLists.txt

+ 1 - 0
test/CMakeLists.txt

@@ -63,6 +63,7 @@ function(SETUP_TARGET TARGET_NAME)
             PRIVATE
             PRIVATE
                 # disabling INCREMENTAL is required by SizeBench
                 # disabling INCREMENTAL is required by SizeBench
                 $<$<CONFIG:Debug>:/INCREMENTAL:NO>
                 $<$<CONFIG:Debug>:/INCREMENTAL:NO>
+                $<$<CONFIG:Release>:/OPT:NOICF>
         )
         )
     else()
     else()
         target_compile_options(
         target_compile_options(