26 #include <boost/algorithm/string/split.hpp> 27 #include <boost/algorithm/string/classification.hpp> 36 char *cMakePrefixPath = getenv(
"CMAKE_PREFIX_PATH" );
37 if (cMakePrefixPath != NULL) {
38 return getenv(
"CMAKE_PREFIX_PATH" );
46 std::vector<std::string> prefixes;
47 boost::split( prefixes, cmake_prefix, boost::is_any_of(
":") );
49 for (
size_t i=0; i<prefixes.size(); i++)
51 std::cout <<
"going to add: " << prefixes[i] << std::endl;
52 qi::path::detail::addOptionalSdkPrefix( prefixes[i].c_str() );
static std::string getCMakePrefixPath()
static void adjustSDKPrefix()