mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-17 20:58:07 +02:00
[fuzzylite] force C++14 standard
doesn't build under C++17 due to using removed symbols
This commit is contained in:
parent
4e4684cedf
commit
db5d77362a
@ -35,6 +35,7 @@ if(NOT fuzzylite_FOUND)
|
||||
add_compile_options(-Wno-error=deprecated-declarations)
|
||||
endif()
|
||||
add_subdirectory(FuzzyLite/fuzzylite EXCLUDE_FROM_ALL)
|
||||
set_property(TARGET fl-static PROPERTY CXX_STANDARD 14) # doesn't compile under 17 due to using removed symbol(s)
|
||||
add_library(fuzzylite::fuzzylite ALIAS fl-static)
|
||||
target_include_directories(fl-static PUBLIC ${CMAKE_HOME_DIRECTORY}/AI/FuzzyLite/fuzzylite)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user