From 4ffce2dbc3a48ba1fc8142456630d584ab32ec57 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 2 Sep 2015 18:27:12 -1000 Subject: [PATCH] forced lzo to link statically on OS X --- extern/lzo/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extern/lzo/CMakeLists.txt b/extern/lzo/CMakeLists.txt index 7ee3897..da30e74 100644 --- a/extern/lzo/CMakeLists.txt +++ b/extern/lzo/CMakeLists.txt @@ -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