aboutsummaryrefslogtreecommitdiff
path: root/src/settings/CMakeLists.txt
blob: f7442e4feb4a8aef5d2a9f72ecdfebb6b0abf63e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
add_library(settings
    "src/settings.c"
)
set(inc "inc")

if(PS1_BUILD)
    set(inc ${inc} "ps1/inc")
elseif(SDL1_2_BUILD)
    set(inc ${inc} "sdl-1.2/inc")
endif()

target_include_directories(settings PUBLIC ${inc})
target_link_libraries(settings PUBLIC game peripheral PRIVATE gfx)