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:
Michael Maltese 2017-05-22 00:07:08 -07:00
parent be2f4466e3
commit 8e57a0ff14
1 changed files with 0 additions and 6 deletions

View File

@ -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