mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 20:46:37 +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:

committed by
Brad King

parent
626f3d43f0
commit
d9c3dd3228
@@ -768,7 +768,7 @@ if(KWSYS_C_SRCS OR KWSYS_CXX_SRCS)
|
||||
|
||||
if(KWSYS_USE_SystemInformation)
|
||||
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
|
||||
# Note that the dbghelp runtime is part of MS Windows OS
|
||||
if(MSVC_VERSION AND NOT MSVC_VERSION VERSION_LESS 1800)
|
||||
|
Reference in New Issue
Block a user