aboutsummaryrefslogtreecommitdiff
path: root/test/platform/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-15 14:15:31 +0800
committercrupest <crupest@outlook.com>2022-05-15 14:15:31 +0800
commit34a64e6ffefaab007578932ddbab931a25f1d56e (patch)
tree541fdb8279e829a129df62288d09916bf23c9200 /test/platform/CMakeLists.txt
parent8ad2966933957ac5d6ff8dcd5e732736fd5e4dc6 (diff)
downloadcru-34a64e6ffefaab007578932ddbab931a25f1d56e.tar.gz
cru-34a64e6ffefaab007578932ddbab931a25f1d56e.tar.bz2
cru-34a64e6ffefaab007578932ddbab931a25f1d56e.zip
...
Diffstat (limited to 'test/platform/CMakeLists.txt')
-rw-r--r--test/platform/CMakeLists.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/platform/CMakeLists.txt b/test/platform/CMakeLists.txt
index 37bd7e4a..5116d54d 100644
--- a/test/platform/CMakeLists.txt
+++ b/test/platform/CMakeLists.txt
@@ -2,13 +2,10 @@ add_executable(CruPlatformBaseTest
ColorTest.cpp
MatrixTest.cpp
)
-target_link_libraries(CruPlatformBaseTest PRIVATE CruPlatformBase cru_test_base)
+target_link_libraries(CruPlatformBaseTest PRIVATE CruPlatformBase CruTestBase)
if (WIN32)
- add_custom_command(TARGET CruPlatformBaseTest POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:CruPlatformBaseTest> $<TARGET_FILE_DIR:CruPlatformBaseTest>
- COMMAND_EXPAND_LISTS
- )
+ add_subdirectory(graphics/direct2d)
endif()
catch_discover_tests(CruPlatformBaseTest)