From d9ca60019f899c6146864f09d84d56996ae10d16 Mon Sep 17 00:00:00 2001 From: Michele Santullo Date: Mon, 17 Aug 2015 17:46:26 +0200 Subject: [PATCH] Use the supplied main as explained in the docs. --- test/unit/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index f92e931..de63bf5 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -9,7 +9,6 @@ include_directories(SYSTEM ) add_executable(${PROJECT_NAME} - "${CMAKE_CURRENT_SOURCE_DIR}/../gtest-1.7.0/src/gtest_main.cc" tilecoords.cpp vector.cpp tileiterator.cpp @@ -19,4 +18,5 @@ add_executable(${PROJECT_NAME} target_link_libraries(${PROJECT_NAME} doorkeeper gtest + gtest_main )