summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-02-06 17:05:21 +0100
committerSlávek Banko <[email protected]>2019-02-06 17:05:21 +0100
commit177b748ba10ee43351643091ca42239205743dd8 (patch)
treefd17fe5aa8c94ab1c58c32b58b97c4dccd239520
parentd63fb689d46000e503bb704f91e2352869840ff7 (diff)
downloadlibtdevnc-177b748ba10ee43351643091ca42239205743dd8.tar.gz
libtdevnc-177b748ba10ee43351643091ca42239205743dd8.zip
Fix path added to CMAKE_MODULE_PATH.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d77d8b..7db22b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,7 +29,7 @@ set(LIBVNCSRVEXAMPLE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/examples)
set(LIBVNCCLIEXAMPLE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/client_examples)
set(TESTS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/test)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/")
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/libvncserver ${CMAKE_CURRENT_SOURCE_DIR}/common)