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:
parent
920d2afdf5
commit
b2f0b3135e
@ -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})
|
||||
|
||||
|
@ -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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user