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

FIX: Fixed path hints in FindBoost.cmake

parent 9c869e1f
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,8 @@ find_path(
if(NOT BOOST_INCLUDEDIR)
message(FATAL_ERROR "Boost include directory was not found! Please, set variable BOOST_INCLUDEDIR to the correct path.")
else()
include_directories("${Boost_INCLUDE_DIRS}")
endif()
# Create a list of requested Boost libraries with "system" names
......@@ -76,7 +78,6 @@ endif()
# Set Boost_FOUND
if(Boost_INCLUDE_DIRS AND Boost_LIBRARY_DIRS)
include_directories("${Boost_INCLUDE_DIRS}")
set(Boost_FOUND TRUE)
else()
message(FATAL_ERROR "Boost library was NOT found!")
......
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