1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Merge pull request #57 from josch/includeFuzzyliteCPP11Headers

add FL_CPP11 preprocessor define independent of which fuzzylite is used
This commit is contained in:
Ivan Savenko 2014-11-18 19:25:05 +02:00
commit 7d429247ab

View File

@ -3,13 +3,14 @@ cmake_minimum_required(VERSION 2.8)
find_package(Fuzzylite)
if(NOT MSVC)
add_definitions(-DFL_CPP11)
set(FL_CPP11 ON CACHE BOOL "")
endif()
if (NOT FL_FOUND)
set(FL_BUILD_BINARY OFF CACHE BOOL "")
set(FL_BUILD_SHARED OFF CACHE BOOL "")
if(NOT MSVC)
add_definitions(-DFL_CPP11)
set(FL_CPP11 ON CACHE BOOL "")
endif()
add_subdirectory(FuzzyLite/fuzzylite)
endif()
add_subdirectory(BattleAI)