1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-06 00:41:01 +02:00

only apply tools for top-level directory

This commit is contained in:
Lars Melchior 2020-04-29 10:12:57 +02:00
parent 373d3c1651
commit c74c3a13b1
4 changed files with 16 additions and 14 deletions

View file

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