Skip to content

Commit 1b85020

Browse files
committed
OSX: Don't use system zzipb and lha libs
1 parent 3b30984 commit 1b85020

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,13 @@ endif()
175175
if(UNIX)
176176
# zlib is provided by Linux and macOS
177177
find_package(ZLIB)
178-
find_package(LHASA)
179-
find_package(ZZIPLIB)
178+
179+
# We can't use Brew for these due to OSX target version mismatch
180+
# (we're targeting an older version of OSX to increase compatibility)
181+
if(!APPLE)
182+
find_package(LHASA)
183+
find_package(ZZIPLIB)
184+
endif()
180185

181186
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
182187
find_package(ALSA)

0 commit comments

Comments
 (0)