Commit 3ee18ce4 authored by Jan Möbius's avatar Jan Möbius

Qt5 resource problem in cmake file



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19948 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 890cddd6
......@@ -91,8 +91,13 @@ endif()
set(RC_SRC "")
if ( EXISTS ${CMAKE_SOURCE_DIR}/branding/branding.qrc )
QT4_ADD_RESOURCES(BRANDING_RC_SRC "${CMAKE_SOURCE_DIR}/branding/branding.qrc")
list(APPEND RC_SRC ${BRANDING_RC_SRC})
if ( QT5_FOUND )
QT5_ADD_RESOURCES(BRANDING_RC_SRC "${CMAKE_SOURCE_DIR}/branding/branding.qrc")
list(APPEND RC_SRC ${BRANDING_RC_SRC})
else()
QT4_ADD_RESOURCES(BRANDING_RC_SRC "${CMAKE_SOURCE_DIR}/branding/branding.qrc")
list(APPEND RC_SRC ${BRANDING_RC_SRC})
endif()
endif()
if (WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment