r18764 by jghali - adjust cmake QMLDIR variable on WIN32

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 20 21:18:52 UTC 2014


Author: jghali
Date: Mon Jan 20 21:18:52 2014
New Revision: 18764

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18764
Log:
adjust cmake QMLDIR variable on WIN32

Modified:
    trunk/Scribus/CMakeLists.txt

Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18764&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt (original)
+++ trunk/Scribus/CMakeLists.txt Mon Jan 20 21:18:52 2014
@@ -252,7 +252,11 @@
 ADD_DEFINITIONS("-DTEMPLATEDIR=\\\"${CMAKE_INSTALL_PREFIX}/${TEMPLATEDIR}\\\"")
 
 #QML
-SET(QMLDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/qml/")
+IF(WIN32)
+  SET(QMLDIR "share/qml/")
+ELSE(WIN32)
+  SET(QMLDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/qml/")
+ENDIF(WIN32)
 ADD_DEFINITIONS("-DQMLDIR=\\\"${CMAKE_INSTALL_PREFIX}/${QMLDIR}\\\"")
 
 #DESKTOP




More information about the scribus-commit mailing list