mirror of
https://github.com/tdulcet/Table-and-Graph-Libs.git
synced 2025-12-16 00:18:55 +08:00
Updated to require C++17 and use exceptions.
This commit is contained in:
@@ -21,7 +21,7 @@ target_sources(tglib_tables PUBLIC
|
||||
|
||||
# compile example binaries as executables
|
||||
if (PROJECT_IS_TOP_LEVEL)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
add_executable(tglib_graphs_example "${CMAKE_CURRENT_SOURCE_DIR}/graphs.cpp")
|
||||
target_link_libraries(tglib_graphs_example PRIVATE tglib::graphs)
|
||||
|
||||
Reference in New Issue
Block a user