mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fix travis build
This commit is contained in:
parent
c76b22405d
commit
a4998accf6
@ -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})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user