Merge pull request #6570 from lioncash/lzo

CMakeLists: Remove lzo from the LIBS variable and make linkage private
This commit is contained in:
Léo Lam 2018-04-01 11:51:06 +02:00 committed by GitHub
commit aaf9f4759f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -597,7 +597,6 @@ else()
include_directories(Externals/LZO)
set(LZO lzo2)
endif()
list(APPEND LIBS ${LZO})
if(NOT APPLE)
check_lib(PNG libpng png png.h QUIET)

View File

@ -280,7 +280,6 @@ PUBLIC
discio
enet
inputcommon
${LZO}
${MBEDTLS_LIBRARIES}
pugixml
sfml-network
@ -289,6 +288,9 @@ PUBLIC
videoogl
videosoftware
z
PRIVATE
${LZO}
)
if (APPLE)