From dc747d59df7a7fa83923caf5d7b86969917550fb Mon Sep 17 00:00:00 2001 From: lethosor Date: Sun, 9 Aug 2015 13:20:28 -0400 Subject: [PATCH] Link dfhack-md5 on Windows --- library/CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 270948e1a..328443f48 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -240,14 +240,13 @@ IF(UNIX) ENDIF() ENDIF() -IF(UNIX) +IF(APPLE) + SET(PROJECT_LIBS dl dfhack-md5 dfhack-tinyxml dfhack-tinythread) +ELSEIF(UNIX) SET(PROJECT_LIBS rt dl dfhack-md5 dfhack-tinyxml dfhack-tinythread) - IF(APPLE) - SET(PROJECT_LIBS dl dfhack-md5 dfhack-tinyxml dfhack-tinythread) - ENDIF() ELSE(WIN32) #FIXME: do we really need psapi? - SET(PROJECT_LIBS psapi dfhack-tinyxml dfhack-tinythread) + SET(PROJECT_LIBS psapi dfhack-md5 dfhack-tinyxml dfhack-tinythread) ENDIF() ADD_LIBRARY(dfhack-version STATIC DFHackVersion.cpp)