From 437f5634e79e21d49663256f0bd2f7d25e7bc373 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 19 May 2017 14:18:56 +0200 Subject: Fix project LIBDIR and RESOURCES paths. Change-Id: I36c4139e53266938285f8a275bf38243cd10907e Signed-off-by: Romain Forlot --- cmake/macros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake') 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) -- cgit 1.2.3-korg