Commit 9cc210b5 by Cédric Tissières

Fix compilation options for better compatibility

parent e4f3f677
......@@ -28,6 +28,11 @@ AC_DEFUN([AX_PATH_QMAKE5], [
AC_CACHE_CHECK([for Qt5 version of qmake], ax_cv_path_QMAKE5, [
ax_cv_path_QMAKE5=no
for qmake5 in ${_QMAKE5} ${_QMAKE}; do
if ($qmake5 --version 2>&1 | $EGREP -q 'Qt version 5'); then
QMAKE5="$qmake5"
ax_cv_path_QMAKE5="$qmake5"
break
fi
if ($qmake5 -qt5 --version 2>&1 | $EGREP -q 'Qt version 5'); then
QMAKE5="$qmake5 -qt5"
ax_cv_path_QMAKE5="$qmake5 -qt5"
......
......@@ -16,7 +16,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-13, USA
TEMPLATE = app
CONFIG += warn_on release @HAVE_DEBUG_TRUE@debug
CONFIG += c++11 warn_on release @HAVE_DEBUG_TRUE@debug
QT += widgets charts
TARGET = ophcrack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment