add_executable(CruPlatformBaseTest ColorTest.cpp MatrixTest.cpp ) target_link_libraries(CruPlatformBaseTest PRIVATE CruPlatformBase CruTestBase) add_subdirectory(graphics) if (WIN32) add_subdirectory(graphics/direct2d) endif() if (UNIX AND NOT EMSCRIPTEN) # TODO: Re-enable this! # add_subdirectory(graphics/cairo) endif() cru_catch_discover_tests(CruPlatformBaseTest)