Commit dc2711aa authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Attempting to resolve Windows MinGW linking error with PSAPI.

parent eaed158c
......@@ -16,7 +16,13 @@ TRIBITS_ADD_LIBRARY(radixcore
SOURCES ${SOURCES}
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
TRIBITS_ADD_TEST_DIRECTORIES(tests)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment