Explorar el Código

build: review benchmark test

skypjack hace 4 meses
padre
commit
e734078bb0
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      test/CMakeLists.txt

+ 5 - 1
test/CMakeLists.txt

@@ -140,7 +140,11 @@ endfunction()
 # Test benchmark
 
 if(ENTT_BUILD_BENCHMARK)
-    SETUP_BASIC_TEST_DEPRECATED(benchmark benchmark/benchmark.cpp)
+    SETUP_BASIC_TEST(
+        NAME benchmark
+        SOURCES benchmark/benchmark.cpp
+    )
+
     set_target_properties(benchmark PROPERTIES CXX_CLANG_TIDY "")
 endif()