diff --git a/CMakeLists.txt b/CMakeLists.txt index 1878897105..416637e580 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -311,6 +311,7 @@ else() message("Shared lzo not found, falling back to the static library") add_subdirectory(Externals/LZO) include_directories(Externals/LZO) + set(LZO lzo2) endif() include(FindSDL OPTIONAL) diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt index 438ee9ce82..837b58a528 100644 --- a/Source/Core/DolphinWX/CMakeLists.txt +++ b/Source/Core/DolphinWX/CMakeLists.txt @@ -1,5 +1,5 @@ set(LIBS core - lzo2 + ${LZO} discio bdisasm inputcommon