Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MediaArea/ZenLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Gervais <gervais.maxime@gmail.com>2017-07-04 20:51:58 +0300
committerMaxime Gervais <gervais.maxime@gmail.com>2017-07-04 20:51:58 +0300
commite0df68a7432c6712c7009ef1e3482f5dc79f186d (patch)
tree731b8fd1d733de4d01de7271b8ee963bfb727fb4 /Project
parent2d1978f65a5e98580929324e1e6d10d71f3a3fa2 (diff)
Fix module path when called from another project
Signed-off-by: Maxime Gervais <gervais.maxime@gmail.com>
Diffstat (limited to 'Project')
-rw-r--r--Project/CMake/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/CMake/CMakeLists.txt b/Project/CMake/CMakeLists.txt
index cd7c81b..f405cb5 100644
--- a/Project/CMake/CMakeLists.txt
+++ b/Project/CMake/CMakeLists.txt
@@ -11,7 +11,7 @@ endif()
option(ENABLE_UNICODE "Enable unicode support" ON)
option(LARGE_FILES "Enable large files support" ON)
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Modules/")
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/Modules/")
set(ZenLib_SOURCES_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../Source)
# On Windows debug library should have 'd' postfix.