Skip to content

Commit

Permalink
Changed exeutable name test-main to peglib-test-main
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Jul 12, 2023
1 parent b6ceab2 commit abac828
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ FetchContent_MakeAvailable(googletest)

enable_testing()

add_executable(test-main test1.cc test2.cc test3.cc)
add_executable(peglib-test-main test1.cc test2.cc test3.cc)

target_include_directories(test-main PRIVATE ..)
target_include_directories(peglib-test-main PRIVATE ..)

include(GoogleTest)
gtest_discover_tests(test-main)
target_link_libraries(test-main PRIVATE gtest_main)
gtest_discover_tests(peglib-test-main)
target_link_libraries(peglib-test-main PRIVATE gtest_main)

0 comments on commit abac828

Please sign in to comment.