Skip to content

Commit

Permalink
OSX: Don't use system zzipb and lha libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltafire committed Jul 29, 2017
1 parent 3b30984 commit 1b85020
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,13 @@ endif()
if(UNIX)
# zlib is provided by Linux and macOS
find_package(ZLIB)
find_package(LHASA)
find_package(ZZIPLIB)

# We can't use Brew for these due to OSX target version mismatch
# (we're targeting an older version of OSX to increase compatibility)
if(!APPLE)
find_package(LHASA)
find_package(ZZIPLIB)
endif()

if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
find_package(ALSA)
Expand Down

0 comments on commit 1b85020

Please sign in to comment.