cmake: insert CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH
This commit is contained in:
parent
ac3c9e9dc7
commit
6a829c77e1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue