aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-07-23 04:12:29 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-07-23 04:23:05 +0200
commitc37cd892a0a5f16de9af4fab8daa3b7eabc80215 (patch)
tree3c35f69b28d88071148c3d7869ac1fea0fc187de
parent79c0164c219a072750e69ae2b13321d2313e22cc (diff)
system/CMakeLists.txt: group common private dependencies into var
-rw-r--r--src/system/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system/CMakeLists.txt b/src/system/CMakeLists.txt
index 679d5b4..1d585d4 100644
--- a/src/system/CMakeLists.txt
+++ b/src/system/CMakeLists.txt
@@ -1,4 +1,5 @@
set(inc "inc")
+set(privdeps gfx sfx)
if(PS1_BUILD)
set(src "ps1/src/init.c")
@@ -10,4 +11,4 @@ endif()
add_library(system ${src})
target_include_directories(system PUBLIC ${inc})
-target_link_libraries(system PRIVATE gfx sfx)
+target_link_libraries(system PRIVATE ${privdeps})