diff --git a/FindBoost.cmake b/FindBoost.cmake index be99c60ad5cb0cd8459efa663584a2548d78c208..3c6ff9051d714cf927768bd91672d0db5e4ac2b6 100644 --- a/FindBoost.cmake +++ b/FindBoost.cmake @@ -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}")