Skip to content

Commit

Permalink
Looking at more recent openNURBS upstream CMakeLists.txt, android_uui…
Browse files Browse the repository at this point in the history
…d isn't built with MSVC.
  • Loading branch information
starseeker committed Mar 15, 2024
1 parent fdadaca commit a7ac630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opennurbs/opennurbs_cmake.patch
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ diff -Naur opennurbs/CMake/FindZLIB.cmake openNURBS/CMake/FindZLIB.cmake
+ opennurbs_zlib.cpp
+ )
+
+if (NOT HAVE_UUID_GENERATE)
+if (NOT HAVE_UUID_GENERATE AND NOT MSVC)
+ set(OPENNURBS_SOURCES ${OPENNURBS_SOURCES}
+ android_uuid/clear.c
+ android_uuid/compare.c
Expand All @@ -935,7 +935,7 @@ diff -Naur opennurbs/CMake/FindZLIB.cmake openNURBS/CMake/FindZLIB.cmake
+ android_uuid/uuid_time.c
+ )
+ endif (WIN32)
+endif (NOT HAVE_UUID_GENERATE)
+endif (NOT HAVE_UUID_GENERATE AND NOT MSVC)
+
+set(OPENNURBS_HEADERS
+ opennurbs_3dm_attributes.h
Expand Down

0 comments on commit a7ac630

Please sign in to comment.