From: adam.b Date: Wed, 19 Feb 2020 16:27:50 +0000 (+0000) Subject: Using current source dir X-Git-Tag: dali_1.9.5~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F225400%2F3;p=platform%2Fcore%2Fuifw%2Fdali-demo.git Using current source dir Change-Id: Icd702fa60797a3076771fc32ac2d1f639ccb006d --- 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})