Fix test suite linking

This commit is contained in:
Chairn 2022-03-23 01:12:45 +01:00
parent 72779f2112
commit b9e52aa984

View file

@ -2464,6 +2464,7 @@ if(GTEST_FOUND OR DOWNLOAD_GTEST)
${TESTS_EXTRA} ${TESTS_EXTRA}
$<TARGET_OBJECTS:engine-shared> $<TARGET_OBJECTS:engine-shared>
$<TARGET_OBJECTS:game-shared> $<TARGET_OBJECTS:game-shared>
$<TARGET_OBJECTS:mastersrv-shared>
${DEPS} ${DEPS}
) )
target_link_libraries(${TARGET_TESTRUNNER} ${LIBS} ${CURL_LIBRARIES} ${MYSQL_LIBRARIES} ${GTEST_LIBRARIES}) target_link_libraries(${TARGET_TESTRUNNER} ${LIBS} ${CURL_LIBRARIES} ${MYSQL_LIBRARIES} ${GTEST_LIBRARIES})