mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 13:41:13 +02:00
Only apply tools for top-level directory (#36)
* update CPM.cmake * only apply tools for top-level directory
This commit is contained in:
parent
e362045719
commit
6a5efe38c1
5 changed files with 48 additions and 17 deletions
|
@ -14,10 +14,6 @@ if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
|
|||
message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there.")
|
||||
endif()
|
||||
|
||||
# --- Import tools ----
|
||||
|
||||
include(cmake/tools.cmake)
|
||||
|
||||
# ---- Add dependencies via CPM ----
|
||||
# see https://github.com/TheLartians/CPM.cmake for more info
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue