Skip to content
GitLab
Menu
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
41fa9045
Commit
41fa9045
authored
Jan 05, 2014
by
Kevin Funk
Browse files
FindClang: It's Clang_FIND_REQUIRED
parent
524e706b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/FindClang.cmake
View file @
41fa9045
...
...
@@ -36,22 +36,17 @@ FIND_AND_ADD_CLANG_LIB(clangStaticAnalyzerFrontend)
FIND_AND_ADD_CLANG_LIB
(
clangSema
)
FIND_AND_ADD_CLANG_LIB
(
clangRewriteCore
)
MESSAGE
(
STATUS
"Clang libs: "
${
CLANG_LIBS
}
)
if
(
CLANG_LIBS
)
message
(
STATUS
"Clang libs:
${
CLANG_LIBS
}
"
)
set
(
CLANG_FOUND TRUE
)
endif
(
CLANG_LIBS
)
if
(
CLANG_FOUND
)
message
(
STATUS
"Found Clang:
${
CLANG_INCLUDE_DIRS
}
"
)
else
(
CLANG_FOUND
)
if
(
C
LANG
_FIND_REQUIRED
)
if
(
C
lang
_FIND_REQUIRED
)
message
(
FATAL_ERROR
"Could NOT find Clang"
)
endif
(
CLANG_FIND_REQUIRED
)
endif
()
endif
(
CLANG_FOUND
)
endif
(
NOT LLVM_INCLUDE_DIR OR NOT LLVM_LIBRARY_DIR
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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