Skip to content

Commit 9302bff

Browse files
authored
Merge pull request #420 from drodriguez/fix-cmake-enable-language
Enable C language in CMakeList to avoid error finding LLVM
2 parents b55f02f + 819d25c commit 9302bff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ set_target_properties(XCTest PROPERTIES
6969
if(ENABLE_TESTING)
7070
enable_testing()
7171

72+
enable_language(C)
7273
find_package(LLVM CONFIG)
7374
if(LLVM_FOUND)
7475
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")

0 commit comments

Comments
 (0)