瀏覽代碼

Fix packaging option --with-qt inclusion.

Michael Schloh von Bennewitz 23 年之前
父節點
當前提交
7428af73dc
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mico/mico.spec

+ 3 - 0
mico/mico.spec

@@ -76,6 +76,9 @@ AutoReqProv:  no
     CXX="%{l_cxx}" \
     CFLAGS="%{l_cflags -O}" \
     CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated" \
+%if "%{with_qt}" == "yes"
+    CXXFLAGS+="-I%{l_prefix}/include/qt" \
+%endif
     CPPFLAGS="%{l_cppflags}" \
     LDFLAGS="%{l_ldflags}" \
     ./configure \