From 37eb3bff26e9ed9d76c20e1e98450c22de1036b2 Mon Sep 17 00:00:00 2001 From: Live session user Date: Sat, 17 Jul 2021 12:37:38 +0800 Subject: [PATCH] fix style by cmake-format --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f0e0d6b..2012d4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ target_link_libraries(Recti PRIVATE fmt::fmt Boost::boost) target_include_directories( Recti PUBLIC $ - $ + $ ) # ---- Create an installable target ---- diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0a8400b..967615d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -48,8 +48,7 @@ add_executable(RectiTests ${sources}) target_link_libraries(RectiTests doctest::doctest Recti::Recti GSL Boost::boost) set_target_properties(RectiTests PROPERTIES CXX_STANDARD 17) -# target_include_directories( RectiTests PUBLIC -# $ +# target_include_directories( RectiTests PUBLIC $ # $ PRIVATE ${BOOST_INCLUDE_DIRS} ) # enable compiler warnings @@ -67,8 +66,7 @@ endif() enable_testing() # Note: doctest and similar testing frameworks can automatically configure CMake tests. For other -# testing frameworks add the tests target instead: add_test(NAME rectiTests COMMAND -# RectiTests) +# testing frameworks add the tests target instead: add_test(NAME rectiTests COMMAND RectiTests) include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake) doctest_discover_tests(RectiTests)