mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build
This commit is contained in:
parent
aa34b5bdd2
commit
5c5ac62901
|
@ -169,7 +169,7 @@ else()
|
|||
endif()
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/res/shaders DESTINATION ${SHADER_DIR} COMPONENT ${BINARY_NAME}-qt)
|
||||
if(NOT WIN32 AND NOT APPLE)
|
||||
list(APPEND QT_DEFINES QT_SHADER_DIR ${SHADER_DIR}/shaders)
|
||||
list(APPEND QT_DEFINES QT_SHADER_DIR="${SHADER_DIR}/shaders")
|
||||
endif()
|
||||
|
||||
add_executable(${BINARY_NAME}-qt WIN32 MACOSX_BUNDLE main.cpp ${CMAKE_SOURCE_DIR}/res/mgba.icns ${SOURCE_FILES} ${PLATFORM_SRC} ${UI_FILES} ${AUDIO_SRC} ${RESOURCES})
|
||||
|
|
Loading…
Reference in New Issue