diff --git a/GuildWarsPartySearch.Bot/CMakeLists.txt b/GuildWarsPartySearch.Bot/CMakeLists.txt index e2c28a0..fbcc69f 100644 --- a/GuildWarsPartySearch.Bot/CMakeLists.txt +++ b/GuildWarsPartySearch.Bot/CMakeLists.txt @@ -1,13 +1,13 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) -set(CMAKE_CXX_FLAGS_DEBUG CACHE "CMAKE_CXX_FLAGS_DEBUG" STRING FORCE) -set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE "CMAKE_POSITION_INDEPENDENT_CODE" BOOL FORCE) -set(BUILD_SHARED_LIBS OFF CACHE "BUILD_SHARED_LIBS" BOOL FORCE) -set(CMAKE_BUILD_TYPE Debug CACHE "CMAKE_BUILD_TYPE" STRING FORCE) +set(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "CMAKE_CXX_FLAGS_DEBUG" FORCE) +set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "CMAKE_POSITION_INDEPENDENT_CODE" FORCE) +set(BUILD_SHARED_LIBS OFF CACHE BOOL "BUILD_SHARED_LIBS" FORCE) +set(CMAKE_BUILD_TYPE Debug CACHE STRING "CMAKE_BUILD_TYPE" FORCE) -set(BUILD_TESTING_STATIC OFF CACHE "BUILD_TESTING_STATIC" BOOL FORCE) -set(BUILD_TESTING_SHARED OFF CACHE "BUILD_TESTING_SHARED" BOOL FORCE) -set(BUILD_TESTING OFF CACHE "BUILD_TESTING" BOOL FORCE) +set(BUILD_TESTING_STATIC OFF CACHE BOOL "BUILD_TESTING_STATIC" FORCE) +set(BUILD_TESTING_SHARED OFF CACHE BOOL "BUILD_TESTING_SHARED" FORCE) +set(BUILD_TESTING OFF CACHE BOOL "BUILD_TESTING" FORCE) project( GuildWarsPartySearch.Bot