Use the supplied main as explained in the docs.

This commit is contained in:
Michele Santullo 2015-08-17 17:46:26 +02:00
parent 83963e67ea
commit d9ca60019f

View file

@ -9,7 +9,6 @@ include_directories(SYSTEM
) )
add_executable(${PROJECT_NAME} add_executable(${PROJECT_NAME}
"${CMAKE_CURRENT_SOURCE_DIR}/../gtest-1.7.0/src/gtest_main.cc"
tilecoords.cpp tilecoords.cpp
vector.cpp vector.cpp
tileiterator.cpp tileiterator.cpp
@ -19,4 +18,5 @@ add_executable(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME} target_link_libraries(${PROJECT_NAME}
doorkeeper doorkeeper
gtest gtest
gtest_main
) )