[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 NostalgiaCore
core.cpp core.cpp
gfx.cpp gfx.cpp
media.cpp
) )
target_link_libraries( target_link_libraries(
@ -9,9 +10,8 @@ target_link_libraries(
OxFS OxFS
) )
if(NOSTALGIA_BUILD_TYPE STREQUAL "GBA") add_subdirectory(gba)
add_subdirectory(gba) if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
elseif(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
add_subdirectory(sdl) add_subdirectory(sdl)
add_subdirectory(userland) add_subdirectory(userland)
endif() endif()