1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-16 05:26:58 +08:00

KWSys 2025-07-01 (660d6875)

Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 660d687559d491c7384ad09750eb461cd75259cf (master).

Upstream Shortlog
-----------------

Daniel Pfeifer (1):
      80ad2c25 SystemInformation: Fix linking PowrProf on case-sensitive file systems
This commit is contained in:
KWSys Upstream
2025-07-01 10:45:30 -04:00
committed by Brad King
parent 626f3d43f0
commit d9c3dd3228

View File

@@ -768,7 +768,7 @@ if(KWSYS_C_SRCS OR KWSYS_CXX_SRCS)
if(KWSYS_USE_SystemInformation) if(KWSYS_USE_SystemInformation)
if(WIN32) if(WIN32)
target_link_libraries(${KWSYS_TARGET_INTERFACE} ${KWSYS_LINK_DEPENDENCY} ws2_32 PowrProf) target_link_libraries(${KWSYS_TARGET_INTERFACE} ${KWSYS_LINK_DEPENDENCY} ws2_32 powrprof)
# link in dbghelp.dll for symbol lookup if MSVC 1800 or later # link in dbghelp.dll for symbol lookup if MSVC 1800 or later
# Note that the dbghelp runtime is part of MS Windows OS # Note that the dbghelp runtime is part of MS Windows OS
if(MSVC_VERSION AND NOT MSVC_VERSION VERSION_LESS 1800) if(MSVC_VERSION AND NOT MSVC_VERSION VERSION_LESS 1800)