summaryrefslogtreecommitdiff
path: root/Source/UnitTests
diff options
context:
space:
mode:
authorGuilherme Janczak <guilherme.janczak@yandex.com>2024-04-18 10:58:08 +0000
committerGuilherme Janczak <guilherme.janczak@yandex.com>2024-04-22 20:50:47 +0000
commit50dc0ffbceebe0f633bd63cd4710a3e2f548d688 (patch)
treeb99f6337579512b87f6412a4233a98531d5438c8 /Source/UnitTests
parente69486d2cb4e3e01dd622d760350b26d6cbd59f5 (diff)
port to OpenBSD
Diffstat (limited to 'Source/UnitTests')
-rw-r--r--Source/UnitTests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/UnitTests/CMakeLists.txt b/Source/UnitTests/CMakeLists.txt
index 10dc4f397c..c5f1b966d1 100644
--- a/Source/UnitTests/CMakeLists.txt
+++ b/Source/UnitTests/CMakeLists.txt
@@ -5,7 +5,8 @@ add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND} "-
string(APPEND CMAKE_RUNTIME_OUTPUT_DIRECTORY "/Tests")
add_library(unittests_main OBJECT UnitTestsMain.cpp)
-target_link_libraries(unittests_main PUBLIC fmt::fmt gtest)
+
+target_link_libraries(unittests_main PUBLIC fmt::fmt gtest::gtest)
# 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
# dependencies like videocommon which also use Host_ functions, which makes the