From 8e57a0ff1400ee599d91067050bdcd02bb4a8205 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Mon, 22 May 2017 00:07:08 -0700 Subject: [PATCH] CMake: remove explicit platform libraries from UnitTests They're not used directly, and any libraries that need them will pull them in transitively. --- Source/UnitTests/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/UnitTests/CMakeLists.txt b/Source/UnitTests/CMakeLists.txt index ebfcd3f046..27903f8c20 100644 --- a/Source/UnitTests/CMakeLists.txt +++ b/Source/UnitTests/CMakeLists.txt @@ -3,12 +3,6 @@ add_custom_target(unittests) add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND}) 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. # Otherwise CMake inserts the library after core, but before other core