Add c++14 requirement to tests target

This commit is contained in:
Jason Rhinelander 2020-02-11 20:39:13 -04:00
parent 63e70f9912
commit ede91341da
1 changed files with 3 additions and 0 deletions

View File

@ -13,4 +13,7 @@ add_executable(tests ${LMQ_TEST_SRC})
target_link_libraries(tests Catch2::Catch2 lokimq)
set_property(TARGET tests PROPERTY CXX_STANDARD 14)
set_property(TARGET tests PROPERTY CXX_STANDARD_REQUIRED ON)
add_custom_target(check COMMAND tests)