summaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d/01-variables.cmake
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-28 16:38:10 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-28 18:10:05 +0200
commit3a798fa04ebfd9f7644f304af41baedd1e2a591f (patch)
tree787fe834977551ac90cdf73f2a7280e2168be26e /cmake/cmake.d/01-variables.cmake
parentce24aa6ca479bfcca4baaf435d9161d8e88bdb7e (diff)
Move variable definition to the right place.
Change-Id: I36c0ff6d5b65b5da1258bb9807a5476cba2e4280 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d/01-variables.cmake')
-rw-r--r--cmake/cmake.d/01-variables.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/cmake.d/01-variables.cmake b/cmake/cmake.d/01-variables.cmake
index 8d4f0d1..123c0f6 100644
--- a/cmake/cmake.d/01-variables.cmake
+++ b/cmake/cmake.d/01-variables.cmake
@@ -45,6 +45,9 @@ if(NOT WIN32)
set(BoldWhite "${Esc}[1;37m")
endif()
+# (BUG!!!) as PKG_CONFIG_PATH does not work [should be en env variable]
+set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON CACHE BOOLEAN "Flag for using prefix path")
+
# Native packaging name
set(NPKG_PROJECT_NAME agl-${PROJECT_NAME})