Compile cmake test with -std=c++14
This commit is contained in:
parent
997e8ef385
commit
4a63498b25
@ -6,3 +6,7 @@ add_executable(TguiTest main.cpp)
|
||||
find_package(SFML 2 COMPONENTS graphics window system REQUIRED)
|
||||
find_package(TGUI REQUIRED)
|
||||
target_link_libraries(TguiTest PRIVATE tgui sfml-graphics)
|
||||
|
||||
set_target_properties(TguiTest PROPERTIES CXX_STANDARD 14)
|
||||
set_target_properties(TguiTest PROPERTIES CXX_STANDARD_REQUIRED ON)
|
||||
set_target_properties(TguiTest PROPERTIES CXX_EXTENSIONS OFF)
|
||||
|
Loading…
x
Reference in New Issue
Block a user