Skip to content

Commit a3ea7a8

Browse files
committed
Fixed incorrect target modified by function
1 parent be350c9 commit a3ea7a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ message(STATUS "Running compile-time tests ended.")
7474

7575
add_executable(oup_size_benchmark ${PROJECT_SOURCE_DIR}/tests/size_benchmark.cpp)
7676
target_link_libraries(oup_size_benchmark PRIVATE oup::oup)
77-
add_platform_definitions(oup_tests)
77+
add_platform_definitions(oup_size_benchmark)
7878

7979
add_executable(oup_speed_benchmark
8080
${PROJECT_SOURCE_DIR}/tests/speed_benchmark.cpp
8181
${PROJECT_SOURCE_DIR}/tests/speed_benchmark_utility.cpp
8282
${PROJECT_SOURCE_DIR}/tests/speed_benchmark_utility2.cpp)
8383
target_link_libraries(oup_speed_benchmark PRIVATE oup::oup)
84-
add_platform_definitions(oup_tests)
84+
add_platform_definitions(oup_speed_benchmark)

0 commit comments

Comments
 (0)