Projects
Multimedia
kodi
FindJsonCpp.cmake.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File FindJsonCpp.cmake.patch of Package kodi (Revision 18)
Currently displaying revision
18
,
Show latest
--- FindJsonCpp.cmake.orig 2015-07-17 23:21:49.000000000 +0300 +++ FindJsonCpp.cmake 2015-07-31 11:20:32.845023989 +0300 @@ -3,13 +3,17 @@ pkg_check_modules (JSONCPP jsoncpp) endif() -if(NOT JSONCPP_FOUND) - find_path(JSONCPP_INCLUDE_DIRS json/json.h - PATH_SUFFIXES jsoncpp) - find_library(JSONCPP_LIBRARIES jsoncpp) -endif() +find_path(JSONCPP_INCLUDE_DIR + NAMES json/features.h + PATH_SUFFIXES jsoncpp + PATHS ${JSONCPP_PKGCONF_INCLUDE_DIRS} +) -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(JsonCpp DEFAULT_MSG JSONCPP_LIBRARIES JSONCPP_INCLUDE_DIRS) +find_library(JSONCPP_LIBRARY + NAMES jsoncpp + PATHS ${JSONCPP_PKGCONF_LIBRARY_DIRS} +) -mark_as_advanced(JSONCPP_INCLUDE_DIRS JSONCPP_LIBRARIES) +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(jsoncpp DEFAULT_MSG JSONCPP_LIBRARY JSONCPP_INCLUDE_DIR) +mark_as_advanced(JSONCPP_INCLUDE_DIR JSONCPP_LIBRARY)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.