X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=2e6995c9adae700d1cc7a94b9766e04aa36651f4;hb=9549e8c28032c2d1fb578c43f1b340d1457b3c70;hp=b76abb3776d0dcff11a77d7b3de960e6e16324a5;hpb=dacfe1eeef622d7db8824392db9b6be877ee6a8c;p=src%2Fapp-framework-main.git diff --git a/CMakeLists.txt b/CMakeLists.txt index b76abb3..2e6995c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,18 +16,20 @@ # limitations under the License. ########################################################################### -cmake_minimum_required(VERSION 2.8) +project(afm-main C) -project("afm-main" LANGUAGES "C") +cmake_minimum_required(VERSION 2.8) include(GNUInstallDirs) macro(setc name value) if(NOT DEFINED ${name}) - set(${name} "${value}") + set(${name} ${value}) endif(NOT DEFINED ${name}) endmacro(setc) +setc(USE_LIBZIP 1) + setc(afm_name "aglfwk") setc(afm_confdir "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${afm_name}") setc(afm_datadir "${CMAKE_INSTALL_FULL_DATADIR}/${afm_name}")