Unverified Commit db0b102c authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

cmake: use find_package


Co-authored-by: Joseph Mirabel's avatarJoseph Mirabel <josephmirabel@gmail.com>
parent e5783b17
......@@ -83,7 +83,7 @@ if (BUILD_PYTHON_INTERFACE)
FINDPYTHON()
set(BOOST_COMPONENTS system python)
search_for_boost_python(REQUIRED)
ADD_PROJECT_DEPENDENCY(Boost REQUIRED COMPONENTS system)
find_package(Boost REQUIRED COMPONENTS system)
endif ()
# Optional dependencies
......
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