Skip to content
Snippets Groups Projects
Commit 951240a6 authored by Martin Beseda's avatar Martin Beseda
Browse files

Testing own FindBoost.cmake

parent 2778adb5
No related branches found
No related tags found
No related merge requests found
......@@ -135,14 +135,15 @@ foreach(LIBNAME ${REQUESTED_BOOST_LIBS})
NO_DEFAULT_PATH
)
message("${LIBNAME} ${${LIBNAME}}")
# Check, if the Boost component was found
if("${LIBNAME}" STREQUAL "${LIBNAME}-NOTFOUND")
if("${${LIBNAME}}" STREQUAL "${LIBNAME}-NOTFOUND")
message(FATAL_ERROR "Boost library ${LIBNAME} was NOT found!\
Please, set variable BOOST_LIBRARYDIR to the correct path and check the library names\
format in your Boost installation.")
endif()
message("${LIBNAME} ${${LIBNAME}}")
# Make the target of the same name as the library
#add_library(${LIBNAME}_tar STATIC IMPORTED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment