mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Move gmock into test/
This commit is contained in:
parent
2b2aa8926f
commit
abd93d824a
@ -5,12 +5,10 @@
|
|||||||
# 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
|
||||||
# pre-compiled copy of Google Test (for example, into /usr/local)?"
|
# pre-compiled copy of Google Test (for example, into /usr/local)?"
|
||||||
# at http://code.google.com/p/googletest/wiki/FAQ for more details.
|
# at http://code.google.com/p/googletest/wiki/FAQ for more details.
|
||||||
set(FMT_GMOCK_DIR ../gmock)
|
|
||||||
add_library(gmock STATIC
|
add_library(gmock STATIC
|
||||||
${FMT_GMOCK_DIR}/gmock-gtest-all.cc ${FMT_GMOCK_DIR}/gmock/gmock.h
|
gmock-gtest-all.cc gmock/gmock.h gtest/gtest.h gtest/gtest-spi.h)
|
||||||
${FMT_GMOCK_DIR}/gtest/gtest.h ${FMT_GMOCK_DIR}/gtest/gtest-spi.h)
|
|
||||||
target_include_directories(gmock PUBLIC ${FMT_GMOCK_DIR})
|
|
||||||
target_compile_options(gmock PUBLIC ${CPP11_FLAG})
|
target_compile_options(gmock PUBLIC ${CPP11_FLAG})
|
||||||
|
target_include_directories(gmock PUBLIC .)
|
||||||
|
|
||||||
find_package(Threads)
|
find_package(Threads)
|
||||||
if (Threads_FOUND)
|
if (Threads_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user