forced lzo to link statically on OS X

This commit is contained in:
Jack Andersen 2015-09-02 18:27:12 -10:00
parent a16fd79838
commit 4ffce2dbc3
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
if(NOT WIN32)
if(NOT WIN32 AND NOT APPLE)
find_library(LZO_LIB lzo2)
endif()
if(WIN32 OR LZO_LIB STREQUAL LZO_LIB-NOTFOUND)
if(WIN32 OR APPLE OR LZO_LIB STREQUAL LZO_LIB-NOTFOUND)
include_directories(include)
message("-- Using Athena's built-in lzo")
add_library(lzo2