Support lower CMake versions

This commit is contained in:
Jack Bond-Preston 2016-07-31 21:13:38 +01:00
parent 69f7452f04
commit e04299bd30

View File

@ -14,8 +14,8 @@ file(GLOB_RECURSE sources bot/*.cpp bot/*.hpp)
# add the data to the target, so it becomes visible in some IDE
add_executable(TriviaBot ${sources})
# just for example add some compiler flags
target_compile_options(TriviaBot PUBLIC -std=c++14 -Wall -Wfloat-conversion -g)
# add some compiler flags
set (CMAKE_CXX_FLAGS "-std=c++14 -Wall -Wfloat-conversion ${CMAKE_CXX_FLAGS}")
###############################################################################
## dependencies ###############################################################