Move variable definition to the right place.
[apps/app-templates.git] / cmake / cmake.d / 01-variables.cmake
index 570cb4a..123c0f6 100644 (file)
@@ -21,7 +21,7 @@
 #--------------------------------------------------------------------------
 #  WARNING:
 #     Do not change this cmake template
-#     Customise your preferences in "./etc/config.cmake"
+#     Customise your preferences in "./conf.d/cmake/config.cmake"
 #--------------------------------------------------------------------------
 
 # Get colorized message output non Windows OS. You know bash ? :)
@@ -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})
 
@@ -120,4 +123,4 @@ if(OSRELEASE MATCHES "debian")
        set(PACKAGING_DEB_OUTPUT_COMPAT    ${PROJECT_PKG_ENTRY_POINT}/debian.compat)
        set(PACKAGING_DEB_OUTPUT_CONTROL   ${PROJECT_PKG_ENTRY_POINT}/debian.control)
        set(PACKAGING_DEB_OUTPUT_RULES     ${PROJECT_PKG_ENTRY_POINT}/debian.rules)
-endif(OSRELEASE MATCHES "debian")
\ No newline at end of file
+endif(OSRELEASE MATCHES "debian")