diff options
author | rtk0c <[email protected]> | 2022-07-29 23:46:01 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-07-29 23:46:01 -0700 |
commit | 2b6a10b0c61841fdd52a3caea0d97f8067909e93 (patch) | |
tree | 4c2a34428fee8e4e3d4dd33fad7981c228946028 /CMakeLists.txt | |
parent | 26a894a1ebdc943cb04cb7455345566b65768d9c (diff) |
Add exception and RTTI controlcplt-qt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f217ad..5163009 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,10 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) -find_package(Qt6 6.2 COMPONENTS Quick REQUIRED) +include(cmake/Exceptions.cmake) +include(cmake/RTTI.cmake) + +find_package(Qt6 6.2 COMPONENTS Quick Sql REQUIRED) file(GLOB_RECURSE appQCplt_SRC_HPP_FILES src/*.hpp) file(GLOB_RECURSE appQCplt_SRC_CPP_FILES src/*.cpp) @@ -39,4 +42,8 @@ PRIVATE target_link_libraries(appQCplt PRIVATE Qt6::Quick + Qt6::Sql ) + +target_flag_exceptions(appQCplt ON) +target_flag_rtti(appQCplt OFF) |