Mac build fixes for archived script support.

This commit is contained in:
John Maguire 2011-01-18 14:44:52 +00:00
parent 2c9964ffa9
commit 1a959b136c
1 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,14 @@ if (WIN32)
find_library(QTSPARKLE_LIBRARIES qtsparkle)
endif (WIN32)
if (APPLE)
find_library(ARCHIVE_LIBRARIES archive)
find_path(ARCHIVE_INCLUDE_DIRS archive.h)
if (ARCHIVE_LIBRARIES)
set(ARCHIVE_FOUND ON)
endif (ARCHIVE_LIBRARIES)
endif (APPLE)
find_library(LASTFM_LIBRARIES lastfm)
find_path(LASTFM_INCLUDE_DIRS lastfm/ws.h)