From fb7bfa4844fbaa7a275464e09111c479583c3e7d Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 23 Nov 2017 19:40:35 +0100 Subject: CMake doesn't path protection. Keep using a classic CMake variable not escape with quote for path PKG_TEMPLATE_PREFIX else path isn't correct for internal cmake usage. Change-Id: I9ebff240e28c5cc8922ff6bbc5e6c14a62997f65 Signed-off-by: Romain Forlot --- cmake/cmake.d/01-build_options.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake/cmake.d/01-build_options.cmake') diff --git a/cmake/cmake.d/01-build_options.cmake b/cmake/cmake.d/01-build_options.cmake index 602cc58..b55df59 100644 --- a/cmake/cmake.d/01-build_options.cmake +++ b/cmake/cmake.d/01-build_options.cmake @@ -100,6 +100,8 @@ INCLUDE_DIRECTORIES(${EXTRA_INCLUDE_DIRS}) # Default Linkflag set(PKG_TEMPLATE_PREFIX "\"${CMAKE_SOURCE_DIR}/${PROJECT_APP_TEMPLATES_DIR}\"" CACHE PATH "Default Package Templates Directory") +set(BARE_PKG_TEMPLATE_PREFIX "${CMAKE_SOURCE_DIR}/${PROJECT_APP_TEMPLATES_DIR}" CACHE PATH "Default Package Templates Directory") + if(NOT BINDINGS_LINK_FLAG) set(BINDINGS_LINK_FLAG "-Wl,--version-script=${PKG_TEMPLATE_PREFIX}/cmake/export.map") endif() -- cgit 1.2.3-korg