From 1649ec6e0a7d3971c36acff4b46b194ec535ef9c Mon Sep 17 00:00:00 2001 From: Alexander Drozdov Date: Fri, 8 Oct 2021 18:48:31 +1000 Subject: [PATCH] CMake: use CMAKE_MODULE_PATH as a list --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b00ba16..8a47e0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(GeoCrop) set(APPLICATION_NAME geocrop) # where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked -set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules) +list(PREPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules) # Compiler-specific C++20 activation. set(CMAKE_CXX_STANDARD 20)