[nostalgia/core] Always run GBA CMake file and add media.cpp

This commit is contained in:
Gary Talent 2020-02-11 21:48:48 -06:00
parent 87968a87f0
commit 2c582617e3

View File

@ -2,6 +2,7 @@ add_library(
NostalgiaCore
core.cpp
gfx.cpp
media.cpp
)
target_link_libraries(
@ -9,9 +10,8 @@ target_link_libraries(
OxFS
)
if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
add_subdirectory(gba)
elseif(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
add_subdirectory(gba)
if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
add_subdirectory(sdl)
add_subdirectory(userland)
endif()