Get rid of duplicate main.

This commit is contained in:
Victor Zverovich 2012-12-16 15:25:40 -08:00
parent 4226b64c7d
commit 0c816551ad

View File

@ -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