3549237957
Google Test and Google Mock require matching versions to work, so this requirement should be described in the pkgconfig files. This change is derived from the one used for the Fedora gtest package. Signed-off-by: Neal Gompa <ngompa13@gmail.com>
11 lines
347 B
PkgConfig
11 lines
347 B
PkgConfig
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
Name: gmock
|
|
Description: GoogleMock (without main() function)
|
|
Version: @PROJECT_VERSION@
|
|
URL: https://github.com/google/googletest
|
|
Requires: gtest = @PROJECT_VERSION@
|
|
Libs: -L${libdir} -lgmock @CMAKE_THREAD_LIBS_INIT@
|
|
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@
|