@@ -154,7 +154,7 @@ include(GNUInstallDirs)
154
154
message (STATUS "Found supported version: LLVM ${LLVM_PACKAGE_VERSION} " )
155
155
message (STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR} " )
156
156
157
- ## Find supported LLD only while building for webassembly against emscripten
157
+ ## Find supported LLD only while building for webassembly against emscripten
158
158
159
159
if (EMSCRIPTEN)
160
160
if (DEFINED LLD_VERSION)
@@ -236,14 +236,14 @@ endif()
236
236
set (CMAKE_CXX_STANDARD 17)
237
237
endif ()
238
238
if (CMAKE_CXX_STANDARD LESS 17)
239
- message (fatal "LLVM/CppInterOp requires c ++17 or later" )
239
+ message (fatal "LLVM/CppInterOp requires C ++17 or later" )
240
240
endif ()
241
241
elseif (CLANG_VERSION_MAJOR GREATER_EQUAL 13)
242
242
if (NOT CMAKE_CXX_STANDARD)
243
243
set (CMAKE_CXX_STANDARD 14)
244
244
endif ()
245
245
if (CMAKE_CXX_STANDARD LESS 14)
246
- message (fatal "LLVM/CppInterOp requires c ++14 or later" )
246
+ message (fatal "LLVM/CppInterOp requires C ++14 or later" )
247
247
endif ()
248
248
endif ()
249
249
@@ -274,8 +274,6 @@ endif()
274
274
# For consistency we should set it to the correct value.
275
275
set (LLVM_CONFIG_HAS_RTTI NO CACHE BOOL "" FORCE)
276
276
277
- ## Init
278
-
279
277
# In case this was a path to a build folder of llvm still try to find AddLLVM
280
278
list (APPEND CMAKE_MODULE_PATH "${LLVM_DIR} " )
281
279
@@ -383,7 +381,7 @@ include_directories(BEFORE SYSTEM
383
381
${CMAKE_CURRENT_SOURCE_DIR} /include
384
382
)
385
383
386
- #Removes flag due to issue with Google test download when LLVM_ENABLE_WERROR=On
384
+ # Removes flag due to issue with Google test download when LLVM_ENABLE_WERROR=On
387
385
string (REPLACE "-Wcovered-switch-default" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} " )
388
386
389
387
file (STRINGS "VERSION" CPPINTEROP_VERSION)
0 commit comments