templates: c++-cmake: fix formatting
All checks were successful
ci/woodpecker/push/check Pipeline was successful
All checks were successful
ci/woodpecker/push/check Pipeline was successful
This commit is contained in:
parent
c5e5bee206
commit
7e361aff9d
|
@ -1,15 +1,15 @@
|
||||||
find_package(GTest)
|
find_package(GTest)
|
||||||
|
|
||||||
if (${GTest_FOUND})
|
if(${GTest_FOUND})
|
||||||
include(GoogleTest)
|
include(GoogleTest)
|
||||||
|
|
||||||
add_executable(dummy_test dummy_test.cc)
|
add_executable(dummy_test dummy_test.cc)
|
||||||
target_link_libraries(dummy_test PRIVATE common_options)
|
target_link_libraries(dummy_test PRIVATE common_options)
|
||||||
|
|
||||||
target_link_libraries(dummy_test PRIVATE
|
target_link_libraries(dummy_test PRIVATE
|
||||||
GTest::gtest
|
GTest::gtest
|
||||||
GTest::gtest_main
|
GTest::gtest_main
|
||||||
)
|
)
|
||||||
|
|
||||||
gtest_discover_tests(dummy_test)
|
gtest_discover_tests(dummy_test)
|
||||||
endif (${GTest_FOUND})
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue