cmake/KDAB/module - sync

This commit is contained in:
Allen Winter
2021-08-02 19:11:39 -04:00
parent fa551b84f6
commit 2e7f0bf51d
6 changed files with 83 additions and 69 deletions

View File

@@ -16,9 +16,9 @@ if(WIN32)
else()
set(PATH_SEP ":")
endif()
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
#Qt5 requires C++14
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# On macOS, check if Qt is a framework build. This affects how include paths should be handled.
get_target_property(QtCore_is_framework Qt5::Core FRAMEWORK)