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:
parent
73730eaac5
commit
f7a78448e5
@ -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/)
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user