summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-19 14:18:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:20 +0200
commit437f5634e79e21d49663256f0bd2f7d25e7bc373 (patch)
tree3d962db31ca1d07572c09cb9b0470838f828fa0d
parentf84d5be69fd5b3ae45a6745325b2e3e97c2bf0ec (diff)
Fix project LIBDIR and RESOURCES paths.
Change-Id: I36c4139e53266938285f8a275bf38243cd10907e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--cmake/macros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/macros.cmake b/cmake/macros.cmake
index 42b7dd4..ba771d6 100644
--- a/cmake/macros.cmake
+++ b/cmake/macros.cmake
@@ -230,8 +230,8 @@ set(CMP0048 1)
# Include project configuration
# ------------------------------
project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES ${PROJECT_LANGUAGES})
-set(PROJECT_LIBDIR "libs" CACHE PATH "Subpath to libraries")
-set(PROJECT_RESOURCES "data" CACHE PATH "Subpath to data")
+set(PROJECT_LIBDIR "${CMAKE_SOURCE_DIR}/libs" CACHE PATH "Subpath to libraries")
+set(PROJECT_RESOURCES "${CMAKE_SOURCE_DIR}/data" CACHE PATH "Subpath to data")
INCLUDE(FindPkgConfig)
INCLUDE(CheckIncludeFiles)