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

Testing own FindBoost.cmake

parent 3cc31870
No related branches found
No related tags found
No related merge requests found
......@@ -57,13 +57,13 @@ find_path(
# as Boost headers are supposed to be included like
# #include<boost/...> according to the documentation
set(TMP "")
if(WIN32)
string(REPLACE "\\boost\\boost" "\\boost" TMP ${Boost_INCLUDE_DIRS})
list(APPEND Boost_INCLUDE_DIRS ${TMP})
else()
#if(WIN32)
# string(REPLACE "\\boost\\boost" "\\boost" TMP ${Boost_INCLUDE_DIRS})
# list(APPEND Boost_INCLUDE_DIRS ${TMP})
#else()
string(REPLACE "/boost/boost" "/boost" TMP ${Boost_INCLUDE_DIRS})
list(APPEND Boost_INCLUDE_DIRS ${TMP})
endif()
#endif()
message("Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}")
......
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