>From Jeff Layton <jlay...@redhat.com>:
Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/406764
Change subject: cmake: fix library link in config_parsing library setup
......................................................................
cmake: fix library link in config_parsing library setup
This fixes this warning from cmake:
CMake Warning (dev) at config_parsing/CMakeLists.txt:43 (target_link_libraries):
Cannot specify link libraries for target "/usr/lib64/librados.so" which is
not built by this project.
CMake does not support this but it used to work accidentally and is being
allowed for compatibility.
Policy CMP0016 is not set: target_link_libraries() reports error if its
only argument is not a target. Run "cmake --help-policy CMP0016" for
policy details. Use the cmake_policy command to set the policy and
suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
Ensure we're linking the libraries to the right target.
Change-Id: I6d3218b227fe0bdcce99fa10983a00f8210e3ac9
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/config_parsing/CMakeLists.txt
1 file changed, 6 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/64/406764/1
--
To view, visit https://review.gerrithub.io/406764
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d3218b227fe0bdcce99fa10983a00f8210e3ac9
Gerrit-Change-Number: 406764
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlay...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel