cmake_minimum_required(VERSION 3.26.0) if (NB_BUILD_TESTS) enable_testing() include(GoogleTest) add_executable(TestCore testErrors.cpp testProcesses.cpp ) target_link_libraries(TestCore NBCore GTest::gtest_main ) gtest_discover_tests(TestCore) endif()