Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
dc2711aa
Commit
dc2711aa
authored
Mar 08, 2019
by
LEFEBVREJP email
Browse files
Attempting to resolve Windows MinGW linking error with PSAPI.
parent
eaed158c
Changes
1
Hide whitespace changes
Inline
Side-by-side
radixcore/CMakeLists.txt
View file @
dc2711aa
...
@@ -16,7 +16,13 @@ TRIBITS_ADD_LIBRARY(radixcore
...
@@ -16,7 +16,13 @@ TRIBITS_ADD_LIBRARY(radixcore
SOURCES
${
SOURCES
}
SOURCES
${
SOURCES
}
NOINSTALLHEADERS
${
HEADERS
}
NOINSTALLHEADERS
${
HEADERS
}
)
)
#
# Resolve MINGW linking of psapi library
IF
(
MINGW
)
FIND_LIBRARY
(
PSAPI psapi
)
MESSAGE
(
STATUS
"Checking required PSAPI library"
)
TARGET_LINK_LIBRARIES
(
radixcore
"
${
PSAPI
}
"
)
ENDIF
()
#
#
# Add testing directory
# Add testing directory
TRIBITS_ADD_TEST_DIRECTORIES
(
tests
)
TRIBITS_ADD_TEST_DIRECTORIES
(
tests
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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