mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
CMake: remove explicit platform libraries from UnitTests
They're not used directly, and any libraries that need them will pull them in transitively.
This commit is contained in:
parent
be2f4466e3
commit
8e57a0ff14
@ -3,12 +3,6 @@ add_custom_target(unittests)
|
|||||||
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND})
|
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND})
|
||||||
|
|
||||||
set(LIBS core gtest_main)
|
set(LIBS core gtest_main)
|
||||||
if(APPLE)
|
|
||||||
list(APPEND LIBS ${FOUNDATION_LIBRARY} ${CORESERV_LIBRARY})
|
|
||||||
endif()
|
|
||||||
if(ANDROID)
|
|
||||||
set(LIBS ${LIBS} android log)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Since this is a Core dependency, it can't be linked as a normal library.
|
# Since this is a Core dependency, it can't be linked as a normal library.
|
||||||
# Otherwise CMake inserts the library after core, but before other core
|
# Otherwise CMake inserts the library after core, but before other core
|
||||||
|
Loading…
x
Reference in New Issue
Block a user