Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Utils
KWSys
Commits
c3acc96d
Commit
c3acc96d
authored
Feb 13, 2020
by
Julien Schueller
Browse files
CMake: Fix psapi lib name on case-sensitive fs
Fixes detection of GetProcessMemoryInfo on MinGW
parent
9c970074
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c3acc96d
...
...
@@ -536,7 +536,7 @@ IF(KWSYS_USE_SystemInformation)
ENDIF
()
IF
(
WIN32
)
INCLUDE
(
CheckSymbolExists
)
SET
(
CMAKE_REQUIRED_LIBRARIES
P
sapi
)
SET
(
CMAKE_REQUIRED_LIBRARIES
p
sapi
)
CHECK_SYMBOL_EXISTS
(
GetProcessMemoryInfo
"windows.h;psapi.h"
KWSYS_SYS_HAS_PSAPI
)
UNSET
(
CMAKE_REQUIRED_LIBRARIES
)
IF
(
KWSYS_SYS_HAS_PSAPI
)
...
...
Brad King
@brad.king
mentioned in commit
e66b3ce1
·
Feb 14, 2020
mentioned in commit
e66b3ce1
mentioned in commit e66b3ce17dd09ca8e88d47ac7eff68b232dda736
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment