cmake unable to report INCLUDE_DIRS and LIBRARIES
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libjsoncpp (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
$ dpkg -l|grep libjsoncpp
ii libjsoncpp-
ii libjsoncpp1:amd64 1.7.2-1 amd64 library for reading and writing JSON for C++
When try to use jsoncpp, the ${jsoncpp_
CMakeLists.txt
----------------
cmake_minimum_
project(
find_package(
message("FOUND CONFIG: ${jsoncpp_CONFIG}")
message("INCLUDE DIRS: ${jsoncpp_
message("LIBRARIES: ${jsoncpp_
The actual result is:
-------
FOUND CONFIG: /usr/lib/
INCLUDE DIRS:
LIBRARIES:
tags: | added: xenial |
Status changed to 'Confirmed' because the bug affects multiple users.