[nostalgia] Add Qt Quick as dependency
This commit is contained in:
parent
d06724ffe1
commit
528f9be635
@ -1,13 +1,14 @@
|
|||||||
|
|
||||||
#setup libraries
|
#setup libraries
|
||||||
|
|
||||||
if(NOSTALGIA_BUILD_STUDIO)
|
|
||||||
find_package(Qt5Widgets)
|
|
||||||
set(CMAKE_AUTOMOC ON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
|
if(NOSTALGIA_BUILD_STUDIO)
|
||||||
|
find_package(Qt5Widgets REQUIRED)
|
||||||
|
find_package(Qt5QuickWidgets REQUIRED)
|
||||||
|
set(CMAKE_AUTOMOC ON)
|
||||||
|
set(CMAKE_AUTORCC ON)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#project packages
|
#project packages
|
||||||
@ -19,8 +20,7 @@ add_subdirectory(world)
|
|||||||
|
|
||||||
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
|
||||||
add_subdirectory(tools)
|
add_subdirectory(tools)
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOSTALGIA_BUILD_STUDIO)
|
if(NOSTALGIA_BUILD_STUDIO)
|
||||||
add_subdirectory(studio)
|
add_subdirectory(studio)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user