summaryrefslogtreecommitdiffstats
path: root/src
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 /src
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>
Diffstat (limited to 'src')
-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)
ef='#n155'>155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209