From 0fdf39db8c34aab74e49a7c0cef43f176d9299e2 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 9 Jul 2015 09:18:08 +0200 Subject: [PATCH] Fixed Pro compile flags to actually work. Imagine that! --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 97970a26..96b4008d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,16 +73,16 @@ if (NOT DEFINED FILLER_DATA OR NOT DEFINED SHARED_SECRET OR NOT DEFINED SUPER_SE message(WARNING "Not all LTS variables have been set and this is an LTS build - are you sure about this?")#LTS endif()#LTS add_definitions(-DFILLER_DATA="${FILLER_DATA}" -DSHARED_SECRET="${SHARED_SECRET}" -DSUPER_SECRET="${SUPER_SECRET}")#LTS -if (DEFINED ${GEOIP} ) +if (DEFINED GEOIP ) add_definitions(-DGEOIP=1) endif() -if (NOT DEFINED ${NOUPDATE} ) +if (NOT DEFINED NOUPDATE ) add_definitions(-DUPDATER=1) endif() -if (DEFINED ${NOAUTH} ) +if (DEFINED NOAUTH ) add_definitions(-DNOAUTH=1) endif() -if (DEFINED ${KILLONEXIT} ) +if (DEFINED KILLONEXIT ) add_definitions(-DKILLONEXIT=true) endif()