فهرست منبع

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

Justin Braben 1 سال پیش
والد
کامیت
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
             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(