Replaced CMAKE_[SOURCE|BINARY]_DIR with PROJECT_[SOURCE|BINARY]_DIR

Thanks @Pollux42 for the hint in #7096
This commit is contained in:
Armin Novak
2021-06-21 11:39:34 +02:00
committed by akallabeth
parent b453d5e40e
commit 8ef57bf296
46 changed files with 99 additions and 99 deletions

View File

@@ -18,7 +18,7 @@
macro(enable_cmake_compat CMVERSION)
if(${CMAKE_VERSION} VERSION_LESS ${CMVERSION})
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/compat_${CMVERSION}/")
LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/compat_${CMVERSION}/")
endif()
endmacro()