diff options
Diffstat (limited to 'cmake/cmake.d/01-build_options.cmake')
-rw-r--r-- | cmake/cmake.d/01-build_options.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
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() |