Skip to content
This repository was archived by the owner on Oct 10, 2021. It is now read-only.

Commit 1f2df14

Browse files
committed
Disable Qt5 because it is not exported on install
Elemental exports targets which link to Qt5 CMake targets but those are not loaded when including Elemental via CMake, breaking user libraries. Ref.: elemental/Elemental#275
1 parent e77d9cb commit 1f2df14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

files/Debian-Buster/usr/local/bin/make_install_elemental.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ fi
6666
# disable quadmath.h (EL_DISABLE_QUAD) because it requires a non-standard compiler extension (-std=gnu++11).
6767
# Ref.: https://github.com/elemental/Elemental/blob/master/include/El/core/limits.hpp#L143
6868

69+
# disable Qt5 because it is not exported and thus builds using Elemental are currently broken,
70+
# Ref.: https://github.com/elemental/Elemental/pull/275
71+
6972
# set minimal possible language level and disable compiler extensions to ease inclusion in own projects
7073
cat << 'EOF' | patch -p0 --forward --reject-file=- || true
7174
--- CMakeLists.txt.orig 2018-07-27 07:52:10.460430024 +0000
@@ -115,7 +118,7 @@ cd build/
115118
sudo -u "$USERNAME" cmake \
116119
-DCMAKE_BUILD_TYPE=Debug \
117120
-DBINARY_SUBDIRECTORIES=OFF \
118-
-DEL_USE_QT5=ON \
121+
-DEL_USE_QT5=OFF \
119122
-DEL_TESTS=ON \
120123
-DEL_EXAMPLES=ON \
121124
-DEL_HYBRID=ON \

0 commit comments

Comments
 (0)