1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-25 20:22:39 +01:00

Remove no longer existing qtquick_compiler_add_resources

This commit is contained in:
Elias Steurer 2021-09-10 12:46:44 +02:00
parent 920d2afdf5
commit b2f0b3135e
2 changed files with 3 additions and 10 deletions

View File

@ -84,11 +84,8 @@ find_package(
WebEngineCore
Test)
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
qt_add_resources(resources ScreenPlayAssets.qrc ScreenPlayQML.qrc)
else()
qtquick_compiler_add_resources(resources ScreenPlayAssets.qrc ScreenPlayQML.qrc)
endif()
add_library(ScreenPlayLib ${src} ${headers} ${resources} ${resources} ${fonts})

View File

@ -22,11 +22,7 @@ find_package(
WebChannel
Positioning)
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
qt_add_resources(resources SPWidgetResources.qrc)
else()
qtquick_compiler_add_resources(resources SPWidgetResources.qrc)
endif()
add_executable(${PROJECT_NAME} ${src} ${headers} ${resources})