mirror of
https://github.com/H-uru/korman.git
synced 2025-07-14 02:27:36 -04:00
Fix Blender 2.79b+VS2013 build issues.
This commit is contained in:
@ -15,9 +15,14 @@
|
||||
|
||||
|
||||
get_filename_component(_linker_dir "${CMAKE_LINKER}" DIRECTORY)
|
||||
|
||||
# In Visual Studio 2013, the dumpbin.exe in the linker directory is missing an important DLL.
|
||||
# But, it's present in the parent directory, so prefer that one.
|
||||
get_filename_component(_msvc_bin_dir "${_linker_dir}/../" ABSOLUTE)
|
||||
|
||||
find_program(dumpbin_EXECUTABLE
|
||||
NAMES dumpbin
|
||||
PATHS ${_linker_dir}
|
||||
PATHS "${_msvc_bin_dir}" "${_linker_dir}"
|
||||
)
|
||||
|
||||
mark_as_advanced(dumpbin_EXECUTABLE)
|
||||
|
Reference in New Issue
Block a user