瀏覽代碼

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

Justin Braben 11 月之前
父節點
當前提交
9d4db9738a
共有 1 個文件被更改,包括 1 次插入0 次删除
  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(