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

Commit

Permalink
Disable Qt5 because it is not exported on install
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JM1 committed May 10, 2019
1 parent e77d9cb commit 1f2df14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion files/Debian-Buster/usr/local/bin/make_install_elemental.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ fi
# disable quadmath.h (EL_DISABLE_QUAD) because it requires a non-standard compiler extension (-std=gnu++11).
# Ref.: https://github.com/elemental/Elemental/blob/master/include/El/core/limits.hpp#L143

# disable Qt5 because it is not exported and thus builds using Elemental are currently broken,
# Ref.: https://github.com/elemental/Elemental/pull/275

# set minimal possible language level and disable compiler extensions to ease inclusion in own projects
cat << 'EOF' | patch -p0 --forward --reject-file=- || true
--- CMakeLists.txt.orig 2018-07-27 07:52:10.460430024 +0000
Expand Down Expand Up @@ -115,7 +118,7 @@ cd build/
sudo -u "$USERNAME" cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DBINARY_SUBDIRECTORIES=OFF \
-DEL_USE_QT5=ON \
-DEL_USE_QT5=OFF \
-DEL_TESTS=ON \
-DEL_EXAMPLES=ON \
-DEL_HYBRID=ON \
Expand Down

0 comments on commit 1f2df14

Please sign in to comment.