cmake update

This commit is contained in:
2026-01-10 13:01:06 +01:00
parent 5de132bef7
commit fa86621744
3 changed files with 3 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10)
project(TopTeamBedrijfssimulatiesStarter LANGUAGES CXX)

View File

@@ -1,3 +1,4 @@
find_package(GTest QUIET)
# Third Party
include_directories(${GTEST_INCLUDE_DIR})
@@ -16,6 +17,7 @@ target_link_libraries(tests
TopTeamBedrijfssimulaties
cmdLineArgs
gtest
GTest::gtest_main
)
target_include_directories(tests

View File

@@ -1,7 +0,0 @@
#include <gtest/gtest.h>
int main(int argc, char **argv)
{
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}