summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-31 14:59:12 -0400
committerLioncash <mathew1800@gmail.com>2018-03-31 15:01:05 -0400
commiteee32c030b5a07dd0bd46d44e739976a152fa6de (patch)
tree32cfc2c64b14da8e6e37245999559466b4a5a525 /Source
parent76e1a5b892b546ff30320dd8c1193148db7c9ef9 (diff)
CMakeLists: Remove lzo from the LIBS variable and make linkage private
The only place this library is needed (core) is already linked in the core target. Also make the linkage private to create linkage failures if the dependency isn't explicitly linked in elsewhere where it should be. Reduces the dependency on the LIBS variable.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt
index 7a9e2dba1c..60d6d23769 100644
--- a/Source/Core/Core/CMakeLists.txt
+++ b/Source/Core/Core/CMakeLists.txt
@@ -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)