DynamoRIO / DynamoRIO/drmemory
CMake fail to find dbghelp.dll in 64-bit windows for 64-bit pattern mode
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [zhao...@google.com](https://code.google.com/u/106321947286816917100/) on June 11, 2012 17:12:41_
CMake is running a 32-bit process, so lines below will only find 32-bit dbghelp.dll:
file(GLOB dbghelp_hint "$ENV{PROGRAMFILES}/Debugging Tools for Windows/dbghelp.dll")
find_file(DBGHELP_DLL dbghelp.dll HINTS "${dbghelp_hint}"
PROGRAMW6432 is the one used to pointing 64-bit program files in a 32-bit process.
However, it seems does not work and CMake still finds the 32-bit one.
Is there anyway to force cmake to find 64-bit instead of 32-bit libraries in Windows?
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=908_
Contributor guide
Assessment
This issue has not been assessed yet.