From d9c3dd322840e7f1049918e51bffca715fc5f7e2 Mon Sep 17 00:00:00 2001 From: KWSys Upstream Date: Tue, 1 Jul 2025 10:45:30 -0400 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bcd558afa..75f9bb8e4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)