1
0
Fork 0
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:
Lars Melchior 2020-09-02 12:36:48 +02:00
parent e7af9b28c2
commit cde02f79cc

View file

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