--- CMakeLists.txt 2014-07-06 15:20:12.000000000 +0800 +++ CMakeLists.txt 2024-07-14 13:44:16.000000000 +0800 @@ -131,6 +131,9 @@ # ================================================================================================== +string(REGEX REPLACE "-fno-exceptions -DQT_NO_EXCEPTIONS" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions") + ADD_SUBDIRECTORY(libkdcraw) ADD_SUBDIRECTORY(icons) ADD_SUBDIRECTORY(profiles)