cmake_minimum_required(VERSION 3.26.0) if (NB_BUILD_TESTS) enable_testing() include(GoogleTest) add_executable(TestWindow ./TestWindow.cpp ) target_link_libraries(TestWindow NBCore NBGraphics GTest::gtest_main ) gtest_discover_tests(TestWindow) endif()