1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-25 04:02:50 +01:00

Change compilation mode to c++ 20

Fix qml compilation in release mode
This commit is contained in:
Elias Steurer 2020-06-21 16:07:41 +02:00
parent 73730eaac5
commit f7a78448e5
3 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,8 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(QT_TELEMTRY_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/Common/qt-google-analytics/)
set(QT_BREAKPAD_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/Common/qt-breakpad/)

View File

@ -46,7 +46,7 @@ set( headers
set(resources SPWResources.qrc)
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
qtquick_compiler_add_resources(${resources})
qtquick_compiler_add_resources(resources ${resources})
endif()

View File

@ -22,7 +22,7 @@ set(resources
SPWidgetResources.qrc)
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
qtquick_compiler_add_resources(${resources})
qtquick_compiler_add_resources( resources ${resources})
endif()