system/CMakeLists.txt: group common private dependencies into var
This commit is contained in:
parent
79c0164c21
commit
c37cd892a0
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue