Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Friedrich W. H. Kossebau
kdevelop
Commits
458952fb
Commit
458952fb
authored
Jan 05, 2016
by
Kevin Funk
☕
Browse files
Set Clang_FOUND when just libclang found
parent
4c05ee29
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/modules/FindClang.cmake
View file @
458952fb
...
...
@@ -7,10 +7,12 @@
#
# CLANG_LIBCLANG_LIB - Libclang C library
#
# CLANG_CLANGFRONTEND_LIB - Clang Frontend Library
# CLANG_CLANGDRIVER_LIB - Clang Driver Library
# CLANG_CLANGFRONTEND_LIB - Clang Frontend
(C++)
Library
# CLANG_CLANGDRIVER_LIB - Clang Driver
(C++)
Library
# ...
#
# CLANG_LIBS - All the Clang C++ libraries
#
# Uses the same include and library paths detected by FindLLVM.cmake
#
# See http://clang.llvm.org/docs/InternalsManual.html for full list of libraries
...
...
@@ -72,7 +74,7 @@ if (LLVM_FOUND AND LLVM_LIBRARY_DIRS)
FIND_AND_ADD_CLANG_LIB
(
clangRewriteCore
)
endif
()
if
(
CLANG_LIBS
)
if
(
CLANG_LIBS
OR CLANG_LIBCLANG_LIB
)
set
(
CLANG_FOUND TRUE
)
else
()
message
(
STATUS
"Could not find any Clang libraries in
${
LLVM_LIBRARY_DIRS
}
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment