Commit ad65c72a authored by Arnaud Billon's avatar Arnaud Billon
Browse files

[fix] Set DBoost_NO_BOOST_CMAKE when not using SYSTEM

parent e9e91c7c
......@@ -3,6 +3,8 @@
https://gitlab.kitware.com/paraview/paraview-superbuild/blob/c8006d9a96eaa06228a011bc8d646541106643ec/projects/las.cmake
]]
cmake_dependent_option(Boost_NO_BOOST_CMAKE "Boost_NO_BOOST_CMAKE" ON "NOT USE_SYSTEM_boost" OFF)
superbuild_add_project(liblas
DEPENDS boost
CMAKE_ARGS
......@@ -12,7 +14,10 @@ superbuild_add_project(liblas
-DWITH_LASZIP:BOOL=OFF
-DWITH_TESTS:BOOL=OFF
-DWITH_UTILITIES:BOOL=OFF
-DBoost_USE_STATIC_LIBS:BOOL=OFF)
-DBoost_USE_STATIC_LIBS:BOOL=OFF
-DBOOST_ROOT:PATH=<INSTALL_DIR>
-DBoost_NO_BOOST_CMAKE:BOOL=${Boost_NO_BOOST_CMAKE}
)
# this patch is commited upstream at 4dbc30a7e7e099cbe01a7c192ec19d231cc26894
superbuild_apply_patch(liblas respect-with-geotiff
......
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