Fix travis build

This commit is contained in:
Victor Zverovich 2014-09-17 08:26:07 -07:00
parent c76b22405d
commit a4998accf6

View File

@ -75,7 +75,7 @@ endif ()
add_subdirectory(doc) add_subdirectory(doc)
include_directories(.) include_directories(. gmock)
# We compile Google Test ourselves instead of using pre-compiled libraries. # We compile Google Test ourselves instead of using pre-compiled libraries.
# See the Google Test FAQ "Why is it not recommended to install a # See the Google Test FAQ "Why is it not recommended to install a
@ -83,7 +83,6 @@ include_directories(.)
# at http://code.google.com/p/googletest/wiki/FAQ for more details. # at http://code.google.com/p/googletest/wiki/FAQ for more details.
add_library(gmock gmock/gmock-gtest-all.cc) add_library(gmock gmock/gmock-gtest-all.cc)
target_include_directories(gmock PUBLIC gmock)
find_package(Threads) find_package(Threads)
target_link_libraries(gmock ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries(gmock ${CMAKE_THREAD_LIBS_INIT})