templates: c++-cmake: fix formatting
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2024-02-16 22:44:24 +00:00
parent c5e5bee206
commit 7e361aff9d

View file

@ -1,15 +1,15 @@
find_package(GTest)
if (${GTest_FOUND})
include(GoogleTest)
if(${GTest_FOUND})
include(GoogleTest)
add_executable(dummy_test dummy_test.cc)
target_link_libraries(dummy_test PRIVATE common_options)
add_executable(dummy_test dummy_test.cc)
target_link_libraries(dummy_test PRIVATE common_options)
target_link_libraries(dummy_test PRIVATE
GTest::gtest
GTest::gtest_main
)
target_link_libraries(dummy_test PRIVATE
GTest::gtest
GTest::gtest_main
)
gtest_discover_tests(dummy_test)
endif (${GTest_FOUND})
gtest_discover_tests(dummy_test)
endif()