From 114a29014cfddedbb4283544d4cfcbe9cb145284 Mon Sep 17 00:00:00 2001 From: "adam.b" Date: Wed, 19 Feb 2020 16:27:50 +0000 Subject: [PATCH] Using current source dir Change-Id: Icd702fa60797a3076771fc32ac2d1f639ccb006d --- build/tizen/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/tizen/CMakeLists.txt b/build/tizen/CMakeLists.txt index f6d8ad8..838f3c3 100644 --- a/build/tizen/CMakeLists.txt +++ b/build/tizen/CMakeLists.txt @@ -11,8 +11,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") endif() endif() -SET(ROOT_SRC_DIR ${CMAKE_SOURCE_DIR}/../..) -SET(DEMO_SHARED ${CMAKE_SOURCE_DIR}/../../shared) +SET(ROOT_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../..) +SET(DEMO_SHARED ${CMAKE_CURRENT_SOURCE_DIR}/../../shared) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) @@ -177,7 +177,7 @@ SET(PO_DIR ${RESOURCE_DIR}/po) FILE(GLOB PO_FILES RELATIVE "${PO_DIR}" "${PO_DIR}/*.po") SET(MSGFMT "/usr/bin/msgfmt") -SET(MO_FILES_DIR ${CMAKE_BINARY_DIR}/mo) +SET(MO_FILES_DIR ${CMAKE_CURRENT_BINARY_DIR}/mo) FILE(MAKE_DIRECTORY ${MO_FILES_DIR}) FOREACH(PO_FILE ${PO_FILES}) -- 2.7.4