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)
|
||||
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue