diff options
Diffstat (limited to 'redhat/dependencies/tqscintilla/tqscintilla.spec')
-rw-r--r-- | redhat/dependencies/tqscintilla/tqscintilla.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/dependencies/tqscintilla/tqscintilla.spec b/redhat/dependencies/tqscintilla/tqscintilla.spec index 448022bec..155b56e18 100644 --- a/redhat/dependencies/tqscintilla/tqscintilla.spec +++ b/redhat/dependencies/tqscintilla/tqscintilla.spec @@ -184,7 +184,7 @@ This package contains the documentation for tqscintilla. unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" -if ! rpm -E %%cmake|grep -q "cd build"; then +if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then %__mkdir_p build cd build fi @@ -197,6 +197,8 @@ fi -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_GCC_VISIBILITY=ON \ \ + -DLIB_INSTALL_DIR="%{_libdir}" \ + \ -DBUILD_ALL="ON" \ -DWITH_ALL_OPTIONS="ON" \ .. |