Add find package gtest and yaml-cpp package#136
Open
aaroncyew wants to merge 1 commit into
Open
Conversation
- Check gtest, yaml-cpp package installed in system-wide distribution - Package gtest, yaml-cpp could not be found will rollback to submodules Signed-off-by: Aaron Chan <aaron.chun.yew.chan@intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Package name variation between distributions
Fedora/Red Hat/suse: gtest-devel (provides gmock-devel as well), yaml-cpp-devel
Ubuntu/Debian: libgtest-dev, libyaml-cpp-dev
sample output from cmake logs:
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- Checking for module 'level-zero>=1.27.0'
-- Found level-zero, version 1.28.6
-- LevelZero_INCLUDE_DIRS: /usr/lib64/pkgconfig/../../include/level_zero;/usr/lib64/pkgconfig/../../include
-- LevelZero_LIBRARIES: ze_loader
-- LevelZero_VERSION: 1.28.6
-- Found gtest, version 1.17.0
-- GTest_INCLUDE_DIRS : /usr/include
-- GTest_LIBRARIES : /usr/lib64/libgtest.so.1.17.0
-- GTest_VERSION : 1.17.0
-- GMock_INCLUDE_DIRS : /usr/include
-- GMock_LIBRARIES : /usr/lib64/libgmock.so.1.17.0
-- GMock_VERSION : 1.17.0
-- Level Zero driver version: 1779062400
-- Configuring done (3.7s)
-- Generating done (0.1s)