Link against systemwide LZO using the info gathered by check_lib().

This commit is contained in:
Maarten ter Huurne 2011-12-05 05:33:35 +01:00
parent bb182d88b7
commit d440dfe9b2
2 changed files with 2 additions and 1 deletions

View File

@ -311,6 +311,7 @@ else()
message("Shared lzo not found, falling back to the static library") message("Shared lzo not found, falling back to the static library")
add_subdirectory(Externals/LZO) add_subdirectory(Externals/LZO)
include_directories(Externals/LZO) include_directories(Externals/LZO)
set(LZO lzo2)
endif() endif()
include(FindSDL OPTIONAL) include(FindSDL OPTIONAL)

View File

@ -1,5 +1,5 @@
set(LIBS core set(LIBS core
lzo2 ${LZO}
discio discio
bdisasm bdisasm
inputcommon inputcommon