summaryrefslogtreecommitdiff
path: root/x11-misc/qt5ct/files/qt5ct-1.2-cmake.patch
blob: 67313d824fa88589bfd314a585c96c87d0717108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,7 @@
 set(QT_QTPATHS_EXECUTABLE ${QT_QTPATHS_EXECUTABLE}/qtpaths)
 
 if(EXISTS ${QT_QTPATHS_EXECUTABLE})
-    message(STATUS "Found qtpaths executable: " ${QT_QTPATHS_EXECUTABLE})    
+    message(STATUS "Found qtpaths executable: " ${QT_QTPATHS_EXECUTABLE})
 else()
     message(FATAL_ERROR "Could NOT find qtpaths executable")
 endif()
@@ -54,8 +54,8 @@
 add_subdirectory(src/qt5ct-qtplugin)
 add_subdirectory(src/qt5ct-style)
 
-install(DIRECTORY qss DESTINATION ${CMAKE_INSTALL_DATADIR})
-install(DIRECTORY colors DESTINATION ${CMAKE_INSTALL_DATADIR})
+install(DIRECTORY qss DESTINATION ${CMAKE_INSTALL_DATADIR}/qt5ct)
+install(DIRECTORY colors DESTINATION ${CMAKE_INSTALL_DATADIR}/qt5ct)
 
 if(UNIX)
     add_custom_target(distclean @echo cleaning for source distribution)