mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
c237f8d47a
Get WinSDKDebuggingTools compatible with Windows 7: https://www.microsoft.com/en-us/download/details.aspx?id=8279&ranMID=46131&ranEAID=a1LgFw09t88&ranSiteID=a1LgFw09t88-hqwNB0ABR6xeVqDZwkGZAw&epi=a1LgFw09t88-hqwNB0ABR6xeVqDZwkGZAw&irgwc=1&OCID=AID2200057_aff_7806_1243925&tduid=%28ir__qxvdeeyzhskf6zzy0axab6w3ye2xvkxn3xgwkihq00%29%287806%29%281243925%29%28a1LgFw09t88-hqwNB0ABR6xeVqDZwkGZAw%29%28%29&irclickid=_qxvdeeyzhskf6zzy0axab6w3ye2xvkxn3xgwkihq00
21 lines
728 B
CMake
21 lines
728 B
CMake
if(TARGET_OS STREQUAL "windows")
|
|
set_extra_dirs_lib(EXCEPTION_HANDLING drmingw)
|
|
find_file(EXCEPTION_HANDLING_LIBRARY
|
|
NAMES exchndl.dll
|
|
HINTS ${HINTS_EXCEPTION_HANDLING_LIBDIR}
|
|
PATHS ${PATHS_EXCEPTION_HANDLING_LIBDIR}
|
|
${CROSSCOMPILING_NO_CMAKE_SYSTEM_PATH}
|
|
)
|
|
|
|
is_bundled(EXCEPTION_HANDLING_BUNDLED "${EXCEPTION_HANDLING_LIBRARY}")
|
|
if(NOT EXCEPTION_HANDLING_BUNDLED)
|
|
message(FATAL_ERROR "could not find exception handling paths")
|
|
endif()
|
|
set(EXCEPTION_HANDLING_COPY_FILES
|
|
"${EXTRA_EXCEPTION_HANDLING_LIBDIR}/exchndl.dll"
|
|
"${EXTRA_EXCEPTION_HANDLING_LIBDIR}/dbghelp.dll"
|
|
"${EXTRA_EXCEPTION_HANDLING_LIBDIR}/mgwhelp.dll"
|
|
"${EXTRA_EXCEPTION_HANDLING_LIBDIR}/symsrv.dll"
|
|
)
|
|
endif()
|