From a5fd0821955aa0cde559b31a5419bed0c19917ce Mon Sep 17 00:00:00 2001 From: Mustafa Hayati Date: Sun, 24 Mar 2024 12:24:43 +0330 Subject: [PATCH] Append to CMAKE_MODULE_PATH since it's a list. --- .gitignore | 1 + CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0dce4f1..71181fa 100644 --- a/.gitignore +++ b/.gitignore @@ -144,3 +144,4 @@ ipch/ # Visual Studio Trace Files *.e2e +tags diff --git a/CMakeLists.txt b/CMakeLists.txt index 8aa5731..5e3c6bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,7 @@ option(ENABLE_LTO "Enable to add Link Time Optimization." ON) set(EXECUTABLE_NAME "main") # CMAKE MODULES -set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/) +list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/") include(ConfigSafeGuards) include(AddGitSubmodule) include(Docs)