|
|
|
|
@ -141,7 +141,7 @@ std::vector<std::string> CompileCommands::get_arguments(const boost::filesystem:
|
|
|
|
|
#if defined(__APPLE__) |
|
|
|
|
static auto resource_path = []() -> std::string { |
|
|
|
|
boost::system::error_code ec; |
|
|
|
|
for(boost::filesystem::directory_iterator it(boost::filesystem::path(JUCI_LIBCLANG_LIBRARY).parent_path() / "clang", ec), end; it != end; ++it) |
|
|
|
|
for(boost::filesystem::directory_iterator it(boost::filesystem::path(LIBCLANG_LIBRARY_DIR) / "clang", ec), end; it != end; ++it) |
|
|
|
|
return it->path().string(); |
|
|
|
|
return {}; |
|
|
|
|
}(); |
|
|
|
|
|