Commit 2bc14224 authored by Pape, David (FWCC) - 139658's avatar Pape, David (FWCC) - 139658
Browse files

Removing FindGMock.cmake, just using provided PkgConfig.

parent c43bef2c
Pipeline #19645 passed with stages
in 5 minutes and 10 seconds
......@@ -14,6 +14,7 @@ before_script:
- make -j $(nproc)
- make install
- cd -
- export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig"
build_program:
stage: build
......
......@@ -21,7 +21,7 @@ find_package (spdlog REQUIRED)
find_package (PkgConfig REQUIRED)
pkg_check_modules(CONFIG++ REQUIRED IMPORTED_TARGET libconfig++)
find_package (GTest)
find_package (GMock)
pkg_check_modules(GMOCK IMPORTED_TARGET gmock)
find_package (Doxygen)
find_package (Sphinx)
......
This diff is collapsed.
from exhale import utils
# show private members aswell; see exhale_args
# show private members as well; see exhale_args
def specificationsForKind(kind):
'''
For a given input ``kind``, return the list of reStructuredText specifications
......
......@@ -17,7 +17,14 @@ target_compile_options("${PROJECT_NAME}-tests"
-DDUMMY_CACHE_PATH="${CMAKE_CURRENT_BINARY_DIR}/cache"
)
set(LIBS Threads::Threads spdlog::spdlog PkgConfig::CONFIG++ GTest::GTest GTest::Main GMock::GMock)
set(LIBS
Threads::Threads
spdlog::spdlog
PkgConfig::CONFIG++
GTest::GTest
GTest::Main
PkgConfig::GMOCK
)
target_link_libraries("${PROJECT_NAME}-tests" "${LIBS}")
gtest_discover_tests("${PROJECT_NAME}-tests")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment