From b6c43069b07a763426b62d8f32e81eac807536da Mon Sep 17 00:00:00 2001 From: chanywa Date: Wed, 21 Mar 2018 15:32:12 +0900 Subject: [PATCH] Fix cmake upgrade issue Change-Id: Iacebdf1e1461e77428a7036b05bc13a46e8d8fc2 --- CMakeLists.txt | 2 +- geofence-server/CMakeLists.txt | 2 +- module/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6600afd..8e226f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") ADD_DEFINITIONS(" -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" ") MESSAGE(${CMAKE_C_FLAGS}) -MESSAGE(${CMAKE_EXE_LINKER_FLAGS}) +#MESSAGE(${CMAKE_EXE_LINKER_FLAGS}) ADD_SUBDIRECTORY(module) ADD_SUBDIRECTORY(geofence-server) diff --git a/geofence-server/CMakeLists.txt b/geofence-server/CMakeLists.txt index 9f3786d..a64c5f7 100644 --- a/geofence-server/CMakeLists.txt +++ b/geofence-server/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.0) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(geofence-server) SET(server_pkgs_LDFLAGS "${server_pkgs_LDFLAGS} -ldl") diff --git a/module/CMakeLists.txt b/module/CMakeLists.txt index b13e779..9240749 100644 --- a/module/CMakeLists.txt +++ b/module/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.0) +CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(geofence) SET(geofence_module ${PROJECT_NAME}) -- 2.7.4