summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-07-08 16:01:44 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-07-08 16:01:44 +0200
commitf42e24266ef347c5fbdfc224dfd6933c5b6e23dd (patch)
tree70a41be1a14bca09b2ce12906496a7a6534842dd /src/CMakeLists.txt
parent558449a87d0fb36481e69b70e06beee6009e217c (diff)
downgrade cmake to 3.3
Change-Id: I1bed50e53ea1bd5c34ff494c14fff01862d832e8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 38e82ed..5badd01 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -16,7 +16,7 @@
# limitations under the License.
###########################################################################
-cmake_minimum_required(VERSION 3.4)
+cmake_minimum_required(VERSION 3.3)
###########################################################################
@@ -50,11 +50,11 @@ link_libraries(${EXTRAS_LIBRARIES})
message(STATUS "Creation af-gps-binding for AFB-DAEMON")
###############################################################
-pkg_get_variable(afb_binding_install_dir afb-daemon binding_install_dir)
-#execute_process(
-# COMMAND pkg-config --variable binding_install_dir afb-daemon
-# OUTPUT_VARIABLE afb_binding_install_dir OUTPUT_STRIP_TRAILING_WHITESPACE
-#)
+#pkg_get_variable(afb_binding_install_dir afb-daemon binding_install_dir)
+execute_process(
+ COMMAND pkg-config --variable binding_install_dir afb-daemon
+ OUTPUT_VARIABLE afb_binding_install_dir OUTPUT_STRIP_TRAILING_WHITESPACE
+)
###############################################################
add_library(af-gps-binding MODULE af-gps-binding.c)