Browse Source

Avoid double-installing Korman.

Don't install any copies of Korman that might be lurking inside the
Blender directory. This can easily result in interesting race conditions
where we can't predict what exactly will be installed. Worse, if the
korman installed to Blender is a Windows directory junction, then CPack
will fail with an inscrutable error.
pull/324/head
Adam Johnson 3 years ago
parent
commit
af1b224702
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 6
      CMakeLists.txt

6
CMakeLists.txt

@ -87,6 +87,12 @@ if(korman_INSTALL_BLENDER)
"${_Blender_PATH}/"
DESTINATION "."
COMPONENT "Blender"
FILES_MATCHING
PATTERN "*"
# Don't install any korman stuff in the Blender install (yikes)
PATTERN "korman" EXCLUDE
PATTERN "__pycache__" EXCLUDE
REGEX [[vc[_.]?redist[_.]?x[0-9][0-9].exe]] EXCLUDE
)
endif()

Loading…
Cancel
Save