mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Enhanced build script to use c++17 with EnableCXXMode for Qt6
This commit is contained in:
parent
d79637a88e
commit
e873ac3c90
@ -285,7 +285,6 @@ while [ $# -gt 0 ]; do
|
||||
shift
|
||||
;;
|
||||
--enable-cxx11|--enable-cxx-mode=*)
|
||||
LyXConfigureOptions="${LyXConfigureOptions} ${1}"
|
||||
EnableCXXMode="${1}"
|
||||
shift
|
||||
;;
|
||||
@ -423,11 +422,13 @@ case "${EnableCXXMode}" in
|
||||
export CC=cc
|
||||
export CXX="c++ -stdlib=libc++"
|
||||
export CXXFLAGS=-std=c++11
|
||||
LyXConfigureOptions="${LyXConfigureOptions} --enable-cxx-mode=11"
|
||||
;;
|
||||
--enable-cxx-mode=17)
|
||||
export CC=cc
|
||||
export CXX="c++ -stdlib=libc++"
|
||||
export CXXFLAGS=-std=c++17
|
||||
LyXConfigureOptions="${LyXConfigureOptions} ${EnableCXXMode}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user