From 24f6e85eaf143813cb1a68f62ba0576f67ce68a1 Mon Sep 17 00:00:00 2001 From: Martin Beseda <martinbeseda@seznam.cz> Date: Thu, 13 Sep 2018 14:19:49 +0200 Subject: [PATCH] Testing own FindBoost.cmake --- FindBoost.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/FindBoost.cmake b/FindBoost.cmake index be99c60a..3c6ff905 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}") -- GitLab