Sanitize CMake source directory references

This commit is contained in:
luisangelsm
2026-03-30 15:56:27 +02:00
parent e6cbfa634b
commit 8cc9ffc355
9 changed files with 31 additions and 27 deletions

View File

@ -30,7 +30,7 @@ endif()
# Install paths
include(GNUInstallDirs)
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# Compiler options (MSVC flags)
include(cmake/CompilerOptions.cmake)