diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ad4ab1..b2cd755 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,10 +16,13 @@ if (EXCEPTIONS STREQUAL OFF) message("NO RTTI") endif() +add_compile_definitions(ETL_THROW_EXCEPTIONS) add_link_options("-Wl,--print-memory-usage") add_executable(${PROJECT_NAME}) +set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 17) + # Normal source and header files file(GLOB proj_sources LIST_DIRECTORIES false CONFIGURE_DEPENDS src/*.cpp src/*.c src/*.s) set(proj_include "include")