summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroo Ono <hiroo@oikumene.net>2024-09-08 02:35:02 +0900
committerHiroo Ono <hiroo@oikumene.net>2024-09-08 02:35:02 +0900
commit478520e7d8ae5c45d35e12e679f65ff6c92dad64 (patch)
tree29eaa946dae8628750620e1143f35625cc3e1e12
parent17aaab3d851e533930bc7eb553caa35700b48452 (diff)
'Clang' is capitalized. Correct it.
cf. https://cmake.org/cmake/help/v3.28/variable/CMAKE_LANG_COMPILER_ID.html
-rw-r--r--patches/collada-dom-v2.3-r7.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/collada-dom-v2.3-r7.patch b/patches/collada-dom-v2.3-r7.patch
index c500de957d..c2da9d04ed 100644
--- a/patches/collada-dom-v2.3-r7.patch
+++ b/patches/collada-dom-v2.3-r7.patch
@@ -48,7 +48,7 @@ index b1c1993..cdcba63 100644
+# install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/modules DESTINATION ${COLLADA_DOM_INCLUDE_INSTALL_DIR} PATTERN ".svn" EXCLUDE PATTERN ".~" EXCLUDE)
+# install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/dae.h ${CMAKE_CURRENT_SOURCE_DIR}/include/dae.h DESTINATION ${COLLADA_DOM_INCLUDE_INSTALL_DIR})
diff --git a/src/1.4/CMakeLists.txt b/src/1.4/CMakeLists.txt
-index 17fbaea..07d341f 100644
+index 17fbaea..86d2d1d 100644
--- a/src/1.4/CMakeLists.txt
+++ b/src/1.4/CMakeLists.txt
@@ -1,10 +1,32 @@
@@ -60,7 +60,7 @@ index 17fbaea..07d341f 100644
+ target_compile_options(collada14dom PRIVATE
+ "-Wno-error=unused-result" "-Wno-cast-user-defined" "-Wno-nonnull"
+ )
-+elseif(CMAKE_CXX_COMPILER_ID STREQUAL "clang")
++elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+ target_compile_options(collada14dom PRIVATE
+ "-Wno-error=unused-result"
+ )