mirror of
https://github.com/libAthena/athena.git
synced 2025-12-16 16:37:16 +00:00
forced lzo to link statically on OS X
This commit is contained in:
4
extern/lzo/CMakeLists.txt
vendored
4
extern/lzo/CMakeLists.txt
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user