summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-10-24 15:02:42 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2019-10-30 08:34:18 +0000
commit57ec33814c273690b3afd8a113f3ddc1aca14ffb (patch)
tree2d20c63db8249c057ead0fcae652d4f4bd2d15f6
parentb89cf3c279cde212de244b86fb331438c5d8b14d (diff)
build_options: Avoid warning at configuration time
New version of CMake use that variable as string and not boolean. Use of it only needs to set it to something to let pkg-config search its packages in CMAKE_PREFIX_PATH, CMAKE_FRAMEWORK_PATH, and CMAKE_APPBUNDLE_PATH Bugs-AGL: SPEC-2929 Change-Id: I085aa04fa53bfa2ce69387b6a1547c74047c7e57 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--src/cmake/cmake.d/01-build_options.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmake/cmake.d/01-build_options.cmake b/src/cmake/cmake.d/01-build_options.cmake
index 3b1eca7..bbbd280 100644
--- a/src/cmake/cmake.d/01-build_options.cmake
+++ b/src/cmake/cmake.d/01-build_options.cmake
@@ -25,7 +25,7 @@
#--------------------------------------------------------------------------
# (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")
+set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON CACHE STRING "Flag for using prefix path")
INCLUDE(FindPkgConfig)
INCLUDE(CheckIncludeFiles)