Fix order of target_link_libraries() for tests

Generic libraries at the end.
This commit is contained in:
David Capello 2015-07-13 13:01:48 -03:00
parent 55f90d8b8b
commit e4138fdf69

View File

@ -184,7 +184,7 @@ function(find_tests dir dependencies)
PROPERTIES LINK_FLAGS -ENTRY:"mainCRTStartup")
endif()
target_link_libraries(${testname} gtest ${PLATFORM_LIBS} ${ARGV})
target_link_libraries(${testname} gtest ${ARGV} ${PLATFORM_LIBS})
if(extra_definitions)
set_target_properties(${testname}