Explorar o código

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

Justin Braben hai 1 ano
pai
achega
9d4db9738a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      test/CMakeLists.txt

+ 1 - 0
test/CMakeLists.txt

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