Cmake use FOLDER third-party for third party libs

This commit is contained in:
Gabi Melman
2023-12-24 16:26:28 +02:00
parent 306ddde049
commit 70f397f75d
3 changed files with 3 additions and 0 deletions

View File

@@ -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)