diff --git a/bench/CMakeLists.txt b/bench/CMakeLists.txt index 16d5a377..4fbce553 100644 --- a/bench/CMakeLists.txt +++ b/bench/CMakeLists.txt @@ -22,6 +22,7 @@ if(NOT benchmark_FOUND) # Do not build and run googlebenchmark tests FetchContent_Declare(googlebenchmark GIT_REPOSITORY https://github.com/google/benchmark.git GIT_TAG v1.6.0) FetchContent_MakeAvailable(googlebenchmark) + set_target_properties(benchmark PROPERTIES FOLDER "third-party") endif() add_executable(bench bench.cpp) diff --git a/cmake/fmtlib.cmake b/cmake/fmtlib.cmake index a1f99c5c..90256ed9 100644 --- a/cmake/fmtlib.cmake +++ b/cmake/fmtlib.cmake @@ -13,4 +13,5 @@ if(NOT fmt_POPULATED) # We do not require os features of fmt set(FMT_OS OFF CACHE BOOL "Disable FMT_OS" FORCE) add_subdirectory(${fmt_SOURCE_DIR} ${fmt_BINARY_DIR}) + set_target_properties(fmt PROPERTIES FOLDER "third-party") endif () diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ded2f0ce..9042aceb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -24,6 +24,7 @@ else() GIT_TAG 53d0d913a422d356b23dd927547febdf69ee9081 # v3.5.0 ) FetchContent_MakeAvailable(Catch2) + set_target_properties(Catch2 Catch2WithMain PROPERTIES FOLDER "third-party") endif() set(SPDLOG_UTESTS_SOURCES