summaryrefslogtreecommitdiffstats
path: root/samples.d/config.cmake.sample
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 19:28:17 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:48 +0200
commita7aef2878fde773eefc59423b06728415c6f17d7 (patch)
treed86e356276d699370b486033ca967992ed02aca0 /samples.d/config.cmake.sample
parent9a514cd17b61d1e487cd9f9d709d7f7237d50c4a (diff)
Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var
Following change ID 1ec753146f, CMAKE_INSTALL_PREFIX has been replaced by INSTALL_PREFIX. So differ CMAKE_PREFIX_PATH and LD_LIBRARY_PATH setting in 03-macros in order to be sure that CMAKE_INSTALL_PREFIX has been set correctly. Change-Id: I6effcaaab658fd24c929cd4a30fa38ad8f4df145 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'samples.d/config.cmake.sample')
-rw-r--r--samples.d/config.cmake.sample5
1 files changed, 0 insertions, 5 deletions
diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample
index 70715fc..b665fab 100644
--- a/samples.d/config.cmake.sample
+++ b/samples.d/config.cmake.sample
@@ -125,11 +125,6 @@ set (PKG_REQUIRED_LIST
# -D_FORTIFY_SOURCE=2
# CACHE STRING "Compilation flags for RELEASE build type.")
-# (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]
-# ---------------------------------------------------------------------
-set(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig CACHE PATH 'Prefix Path list used by pkgconfig module')
-set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib CACHE PATH 'Path list where to search for libraries')
-
# Optional location for config.xml.in
# -----------------------------------
#set(WIDGET_ICON "\"conf.d/wgt/${PROJECT_ICON}\"" CACHE PATH "Path to the widget icon")