aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-05-24 16:43:33 +0000
committerxiphon <xiphon@protonmail.com>2020-05-24 16:47:06 +0000
commit40b73d2a6c89adfd2d0e1bf23fe87bb42a9348d4 (patch)
tree20250e7dbc00947da7ac38bf83bb501e2e1e20ee /CMakeLists.txt
parentMerge pull request #6510 (diff)
downloadmonero-40b73d2a6c89adfd2d0e1bf23fe87bb42a9348d4.tar.xz
cmake: insert CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d9ec866e4..70d6e53c4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)