Skip to content

Commit

Permalink
dont link against unused gmock lib
Browse files Browse the repository at this point in the history
  • Loading branch information
sekelle committed Feb 14, 2025
1 parent 337863c commit 19e0b86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ryoanji/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ add_executable(${testname}
target_compile_options(${testname} PRIVATE -Wall -Wextra -Wno-unknown-pragmas)
target_include_directories(${testname} PRIVATE ${RYOANJI_TEST_INCLUDE_DIRS})
target_link_libraries(${testname} PRIVATE GTest::gtest_main OpenMP::OpenMP_CXX)
target_link_libraries(${testname} PRIVATE GTest::gmock_main OpenMP::OpenMP_CXX)
add_test(NAME ${testname} COMMAND ryoanji_cpu_unit_tests)
install(TARGETS ${testname} RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}/ryoanji/cpu_unit_tests)

Expand Down

0 comments on commit 19e0b86

Please sign in to comment.