aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-24 18:16:37 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-24 18:16:37 +0200
commit1ab0ddf219ec8c523db844ae85bc2d52ffbe7089 (patch)
treec7da2b4e0f04e22b163cf4c3f22c70a3ea04d85a /cmake
parent132404c28f8e2d29605c6f7e5b8d06e0be5a7d42 (diff)
Fix: hardcoded path
Change-Id: I882f7f69b3577a779266c5347c25ee6d7ab52377 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/common.cmake4
-rw-r--r--cmake/config.cmake.sample2
2 files changed, 3 insertions, 3 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index 12ef8e8..fadba0e 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -346,7 +346,7 @@ else()
endif()
set(PROJECT_PKG_ENTRY_POINT ${CMAKE_SOURCE_DIR}/packaging CACHE PATH "Where package build files, like rpm.spec file or config.xml, are write.")
-set (PKG_TEMPLATE_PREFIX ${CMAKE_SOURCE_DIR}/${PROJECT_APP_TEMPLATES_DIR}/default CACHE PATH "Default Package Templates Directory")
+set (PKG_TEMPLATE_PREFIX ${CMAKE_SOURCE_DIR}/${PROJECT_APP_TEMPLATES_DIR} CACHE PATH "Default Package Templates Directory")
set(SSH_TEMPLATE_DIR ${PKG_TEMPLATE_PREFIX}/ssh)
set(GDB_TEMPLATE_DIR ${PKG_TEMPLATE_PREFIX}/gdb)
set(TEMPLATE_WGT_DIR "${PKG_TEMPLATE_PREFIX}/wgt" CACHE PATH "Subpath to a directory where are stored needed files to build widget")
@@ -355,7 +355,7 @@ set(TEMPLATE_DEB_DIR "${PKG_TEMPLATE_PREFIX}/deb" CACHE PATH "Subpath to a direc
# Default Linkflag
if(NOT BINDINGS_LINK_FLAG)
- set(BINDINGS_LINK_FLAG "-Wl,--version-script=${CMAKE_SOURCE_DIR}/${PROJECT_APP_TEMPLATES_DIR}/default/cmake/export.map")
+ set(BINDINGS_LINK_FLAG "-Wl,--version-script=${CMAKE_SOURCE_DIR}/${PROJECT_APP_TEMPLATES_DIR}/cmake/export.map")
endif()
# Add a dummy target to enable global dependency order
diff --git a/cmake/config.cmake.sample b/cmake/config.cmake.sample
index 27d9f17..73d3832 100644
--- a/cmake/config.cmake.sample
+++ b/cmake/config.cmake.sample
@@ -31,7 +31,7 @@ set(PROJECT_LANGUAGES,"C")
# Where are stored default templates files from submodule or subtree app-templates in your project tree
# relative to the root project directory
-set(PROJECT_APP_TEMPLATES_DIR "conf.d")
+set(PROJECT_APP_TEMPLATES_DIR "conf.d/default")
# Where are stored your external libraries for your project. This is 3rd party library that you don't maintain
# but used and must be built and linked.