Enforce that the library is C99 C++14 compatible.
target_compile_features makes sure features are available but does not
limit the compiler to those features.
I need to make sure that the library does not have unexpected
standard requirements.
cmake_minimum_required (VERSION 3.13...3.21)
target_compile_features(${PROJECT_NAME} PUBLIC c_std_99 cxx_std_14)
+set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 99)
+set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14)
+set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD_REQUIRED TRUE)
+set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED TRUE)
set(LIBTCOD_SDL2 "find_package" CACHE STRING "How this library will be linked.")
set(LIBTCOD_ZLIB "find_package" CACHE STRING "How this library will be linked.")
