cmake: insert CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH

This commit is contained in:
xiphon 2020-05-24 16:43:33 +00:00
parent 77a008f714
commit 40b73d2a6c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
list(INSERT CMAKE_MODULE_PATH 0
"${CMAKE_SOURCE_DIR}/cmake")
"${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
include(CheckLinkerFlag)