summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-07-05 22:31:54 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-07-05 22:31:54 +0200
commit3d5816a07c22dd6c655a60000fb0f175d613e484 (patch)
treee96ebc4d7fc38c79d2aae61fde0f5789f4219c9c /conf.d/cmake
parent85a4c0a1e0f666505cf2a2922c12e78b3c83c062 (diff)
Added a POC for ALSA/HAL plugin
Diffstat (limited to 'conf.d/cmake')
-rw-r--r--conf.d/cmake/config.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index c5f0b8a..e703c80 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -37,9 +37,9 @@ set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates")
# Use any directory that does not start with _ as valid source rep
set(PROJECT_SRC_DIR_PATTERN "[^_]*")
-# Compilation Mode (AFB_DEBUG, RELEASE)
+# Compilation Mode (DEBUG, RELEASE)
# ----------------------------------
-set(CMAKE_BUILD_TYPE "AFB_DEBUG")
+set(CMAKE_BUILD_TYPE "DEBUG")
# Static constante definition
# -----------------------------
@@ -79,7 +79,7 @@ set(CLOSING_MESSAGE "Debug in ./buid: afb-daemon --port=1234 --ldpaths=. --workd
# (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]
# ---------------------------------------------------------------------
-set(INSTALL_PREFIX $ENV{HOME}/opt)
+set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt)
set(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib)