From 7ea1070ee471141f58e9e4c03df5c95bbcef907d Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Wed, 11 Sep 2019 16:23:04 +0200 Subject: Refactor ALLOW_NO_SIGNATURE compile flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix a tiny bug and minor improvements Bug-AGL: SPEC-2840 Change-Id: I9b74a8fd604980615d5669219cb5de801de61163 Signed-off-by: José Bollo --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c1d80ce..191725a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,9 +75,7 @@ add_definitions( -DAFM_VERSION="${PROJECT_VERSION}" ) if(ALLOW_NO_SIGNATURE) - add_definitions(-DDEFAULT_ALLOW_NO_SIGNATURE=1) -else(ALLOW_NO_SIGNATURE) - add_definitions(-DDEFAULT_ALLOW_NO_SIGNATURE=0) + add_definitions(-DALLOW_NO_SIGNATURE=1) endif(ALLOW_NO_SIGNATURE) if(DISTINCT_VERSIONS) add_definitions(-DDISTINCT_VERSIONS=1) -- cgit 1.2.3-korg