From 54dc338a6d24663cacefedd15f0dac8c81eca17c Mon Sep 17 00:00:00 2001 From: Zachery Crandall Date: Sun, 18 Aug 2024 08:42:30 -0500 Subject: [PATCH] Fix CMakePPLang include (#104) --- cmake/get_cmakepp_lang.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmake/get_cmakepp_lang.cmake b/cmake/get_cmakepp_lang.cmake index 0095d7e..8c5012a 100644 --- a/cmake/get_cmakepp_lang.cmake +++ b/cmake/get_cmakepp_lang.cmake @@ -37,7 +37,7 @@ function(get_cmakepp_lang) # Store whether we are building tests or not, then turn off the tests set(build_testing_old "${BUILD_TESTING}") set(BUILD_TESTING OFF CACHE BOOL "" FORCE) - # Download CMakePP and bring it into scope + # Download CMakePPLang and bring it into scope include(FetchContent) FetchContent_Declare( cmakepp_lang @@ -57,5 +57,8 @@ function(get_cmakepp_lang) endif() endfunction() -# Call the function we just wrote to get CMaize +# Call the function we just wrote to get CMakePPLang get_cmakepp_lang() + +# Include CMakePPLang +include(cmakepp_lang/cmakepp_lang)