]> git.pld-linux.org Git - packages/clementine.git/commitdiff
specify CMAKE_INCLUDE_PATH for qtiocompressor to be found
authorElan Ruusamäe <glen@delfi.ee>
Wed, 20 Jan 2016 21:31:09 +0000 (23:31 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 20 Jan 2016 21:31:15 +0000 (23:31 +0200)
doc:
https://cmake.org/cmake/help/v3.0/command/find_path.html

clementine.spec

index 9423bc9ca5dadc2b473d40e808df9db4ae9c6e69..cad2dae234aa4d68e08b7255bbaf88301e7d5777 100644 (file)
@@ -18,7 +18,7 @@ Summary:      A music player and library organiser
 Summary(hu.UTF-8):     Egy zenelejátszó és gyűjtemény-kezelő
 Name:          clementine
 Version:       1.2.3
-Release:       1
+Release:       2
 License:       GPL v3 and GPL v2+
 Group:         Applications/Multimedia
 Source0:       https://github.com/clementine-player/Clementine/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
@@ -148,12 +148,13 @@ cd build
 # as our buildtype is not Release, need to pass these manually. see CMakeLists.txt ~125
 CXXFLAGS="%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG_OUTPUT"
 %cmake \
+       -DCMAKE_INCLUDE_PATH=%{_includedir}/qt4 \
        -DBUNDLE_PROJECTM_PRESETS=OFF \
        -DUSE_SYSTEM_QTSINGLEAPPLICATION=ON \
-       -DQTSINGLEAPPLICATION_INCLUDE_DIRS=%{_includedir}/qt4/QtSolutions/ \
        -DUSE_SYSTEM_QXT=ON \
        -DUSE_SYSTEM_PROJECTM=ON \
        -DSTATIC_SQLITE=%{?with_static_sqlite:ON}%{!?with_static_sqlite:OFF} \
+       -DQTSINGLEAPPLICATION_INCLUDE_DIRS=%{_includedir}/qt4/QtSolutions \
        ..
 %{__make}
 
This page took 0.098593 seconds and 4 git commands to generate.