Skip to content

Commit

Permalink
Merge pull request #105 from jcarpent/devel
Browse files Browse the repository at this point in the history
Use AUTHOR_WARNING for Boost Python linkage macro
  • Loading branch information
jcarpent committed Dec 15, 2016
2 parents c8ae597 + 09c8d77 commit d083461
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions boost.cmake
Expand Up @@ -87,9 +87,8 @@ MACRO(SEARCH_FOR_BOOST)
# We then remove boost_python from the global Boost_LIBRARIES list to handle it with specific care.
IF(Boost_PYTHON_LIBRARY)
LIST(REMOVE_ITEM Boost_LIBRARIES ${Boost_PYTHON_LIBRARY})
MESSAGE(WARNING
"The boost_python library have been removed from the Boost_LIBRARIES variable.
\n To link againt boost_python, please use the macro TARGET_LINK_BOOST_PYTHON."
MESSAGE(AUTHOR_WARNING
"The boost_python library has been removed from the Boost_LIBRARIES variable. To link againt boost_python, please use the macro TARGET_LINK_BOOST_PYTHON."
)
ENDIF(Boost_PYTHON_LIBRARY)

Expand Down

0 comments on commit d083461

Please sign in to comment.