all repos — mgba @ 5c5ac62901be2a229325147e5aa91c587d5cc9e7

mGBA Game Boy Advance Emulator

Qt: Fix build
Jeffrey Pfau jeffrey@endrift.com
Mon, 23 Nov 2015 20:34:50 -0800
commit

5c5ac62901be2a229325147e5aa91c587d5cc9e7

parent

aa34b5bdd293eaa954ee2a2f69ff2d35aee209b5

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/CMakeLists.txtsrc/platform/qt/CMakeLists.txt

@@ -169,7 +169,7 @@ set(SHADER_DIR ${CMAKE_INSTALL_DATADIR}/${BINARY_NAME})

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})