mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
add proper include guard to tools, fixes #57
This commit is contained in:
parent
e7af9b28c2
commit
cde02f79cc
1 changed files with 1 additions and 4 deletions
|
@ -1,10 +1,7 @@
|
|||
# this file contains a list of tools that can be activated and downloaded on-demand each tool is
|
||||
# enabled during configuration by passing an additional `-DUSE_<TOOL>=<VALUE>` argument to CMake
|
||||
|
||||
# only activate tools for top level project
|
||||
if(NOT PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
||||
return()
|
||||
endif()
|
||||
include_guard(DIRECTORY)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/CPM.cmake)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue