Clarifying build error messages (patch by coldz, thanks).
This commit is contained in:
+7
-2
@@ -325,6 +325,11 @@ unix : !mac {
|
||||
BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt
|
||||
|
||||
|
||||
#
|
||||
# searching in $PREFIX/lib and $PREFIX/lib64
|
||||
# to override the default '/usr' pass PREFIX
|
||||
# variable to qmake.
|
||||
#
|
||||
for(dir, LIB_DIRS){
|
||||
exists($$dir){
|
||||
for(lib, BOOST_THREAD){
|
||||
@@ -349,11 +354,11 @@ unix : !mac {
|
||||
}
|
||||
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_IOSTREAMS
|
||||
!count(BOOST_LIBS, 3){
|
||||
error("libboost (version >= 1.34.1) --> http://www.boost.org/")
|
||||
error("Unable to find boost libraries in PREFIX=$${PREFIX}")
|
||||
}
|
||||
|
||||
if($$system(sdl-config --version)){
|
||||
error("libSDL_mixer, libSDL --> http://www.libsdl.org/")
|
||||
error("sdl-config not found in PATH - libSDL_mixer, libSDL are required!")
|
||||
}
|
||||
|
||||
UNAME = $$system(uname -s)
|
||||
|
||||
+6
-1
@@ -169,6 +169,11 @@ unix : !mac {
|
||||
BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt
|
||||
BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt
|
||||
|
||||
#
|
||||
# searching in $PREFIX/lib and $PREFIX/lib64
|
||||
# to override the default '/usr' pass PREFIX
|
||||
# variable to qmake.
|
||||
#
|
||||
for(dir, LIB_DIRS){
|
||||
exists($$dir){
|
||||
for(lib, BOOST_THREAD){
|
||||
@@ -199,7 +204,7 @@ unix : !mac {
|
||||
}
|
||||
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_PROGRAM_OPTIONS $$BOOST_IOSTREAMS
|
||||
!count(BOOST_LIBS, 4){
|
||||
error( libboost (version >= 1.34.1) --> http://www.boost.org/")
|
||||
error("Unable to find boost libraries in PREFIX=$${PREFIX}")
|
||||
}
|
||||
|
||||
UNAME = $$system(uname -s)
|
||||
|
||||
Reference in New Issue
Block a user