summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-03-21 01:02:22 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-03-21 01:02:22 +0100
commit711aa544049cd18d3276a69364d4f45ffe364c4c (patch)
treef3cd342b20c630bd4fc7952a4cfb9d31f3011792
parentd12615deb38e60cee7ab9dc1965a8ca19d4a8587 (diff)
downloadlibtdevnc-711aa544049cd18d3276a69364d4f45ffe364c4c.tar.gz
libtdevnc-711aa544049cd18d3276a69364d4f45ffe364c4c.zip
Add path to the local CMake modules to detect libraries.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6cfff22..83e5093 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +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_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)