mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
define FL_CPP11 outside Fuzzylite source
This commit is contained in:
parent
7887a750cf
commit
d0da88a515
@ -7,6 +7,7 @@ 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)
|
||||
|
@ -1,7 +1,7 @@
|
||||
project(VCAI)
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
if (FUZZYLITE_FOUND)
|
||||
if (FL_FOUND)
|
||||
include_directories(${Boost_INCLUDE_DIRS} ${CMAKE_HOME_DIRECTORY} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_HOME_DIRECTORY}/lib ${FL_INCLUDE_DIRS})
|
||||
else()
|
||||
include_directories(${Boost_INCLUDE_DIRS} ${CMAKE_HOME_DIRECTORY} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_HOME_DIRECTORY}/lib ${CMAKE_HOME_DIRECTORY}/AI/FuzzyLite/fuzzylite)
|
||||
|
Loading…
Reference in New Issue
Block a user