cmake update
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
project(TopTeamBedrijfssimulatiesStarter LANGUAGES CXX)
|
project(TopTeamBedrijfssimulatiesStarter LANGUAGES CXX)
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
find_package(GTest QUIET)
|
||||||
# Third Party
|
# Third Party
|
||||||
include_directories(${GTEST_INCLUDE_DIR})
|
include_directories(${GTEST_INCLUDE_DIR})
|
||||||
|
|
||||||
@@ -16,6 +17,7 @@ target_link_libraries(tests
|
|||||||
TopTeamBedrijfssimulaties
|
TopTeamBedrijfssimulaties
|
||||||
cmdLineArgs
|
cmdLineArgs
|
||||||
gtest
|
gtest
|
||||||
|
GTest::gtest_main
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(tests
|
target_include_directories(tests
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#include <gtest/gtest.h>
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
::testing::InitGoogleTest(&argc, argv);
|
|
||||||
return RUN_ALL_TESTS();
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user