From 0c816551ad7f65aa814067526f90f23c7379c7cf Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 16 Dec 2012 15:25:40 -0800 Subject: [PATCH] Get rid of duplicate main. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f7feb53..60f8c6ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt) include_directories(gtest/include) link_directories(${CMAKE_CURRENT_BINARY_DIR}/gtest) enable_testing() - add_executable(format_test format_test.cc gtest/src/gtest_main.cc) + add_executable(format_test format_test.cc) target_link_libraries(format_test format gtest) if (CMAKE_COMPILER_IS_GNUCXX) set_target_properties(format_test PROPERTIES COMPILE_FLAGS