mirror of https://github.com/vitalif/openscad
print boost_root when it's under OPENSCAD_LIBRARIES, otherwise skip print
parent
4a16db4657
commit
0582999233
|
@ -88,7 +88,7 @@ linux*:exists(/usr/lib64/libGLU*)|linux*:exists(/usr/lib/libGLU*) {
|
|||
|
||||
# See Dec 2011 OpenSCAD mailing list, re: CGAL/GCC bugs.
|
||||
*g++* {
|
||||
QMAKE_CXXFLAGS *= -fno-strict-aliasing
|
||||
QMAKE_CXXFLAGS *= -fstrict-aliasing -Wstrict-aliasing
|
||||
}
|
||||
|
||||
CONFIG(mingw-cross-env) {
|
||||
|
|
|
@ -77,10 +77,11 @@ endif()
|
|||
if (NOT $ENV{OPENSCAD_LIBRARIES} STREQUAL "")
|
||||
set(BOOST_ROOT "$ENV{OPENSCAD_LIBRARIES}")
|
||||
if (EXISTS ${BOOST_ROOT}/include/boost)
|
||||
# workaround bugs in FindBoost.cmake with multiple versions of boost
|
||||
# if boost is under OPENSCAD_LIBRARIES, then
|
||||
# don't look in the system paths (workaround FindBoost.cmake bug)
|
||||
set(Boost_NO_SYSTEM_PATHS "TRUE")
|
||||
message(STATUS "BOOST_ROOT: " ${BOOST_ROOT})
|
||||
endif()
|
||||
message(STATUS "BOOST_ROOT: " ${BOOST_ROOT})
|
||||
endif()
|
||||
|
||||
if (NOT $ENV{BOOSTDIR} STREQUAL "")
|
||||
|
|
Loading…
Reference in New Issue