Commit 61c724ce authored by Dan Lipsa's avatar Dan Lipsa
Browse files

Disable boost autolinking.

Disable linking from boost headers.
parent 210e4d9d
......@@ -16,6 +16,10 @@ superbuild_apply_patch(las respect-with-geotiff
superbuild_apply_patch(las enable-outside-boost-options
"Enable outside boost options")
if (WIN32)
superbuild_append_flags(cxx_flags "-DBOOST_ALL_NO_LIB" PROJECT_ONLY)
endif()
if (APPLE)
superbuild_append_flags(cxx_flags "-stdlib=libc++" PROJECT_ONLY)
superbuild_append_flags(ld_flags "-stdlib=libc++" PROJECT_ONLY)
......
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