Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cgsi-gsoap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Data Management Clients
cgsi-gsoap
Commits
c8a73890
Commit
c8a73890
authored
8 years ago
by
Alejandro Alvarez Ayllon
Browse files
Options
Downloads
Patches
Plain Diff
Add FindJSONC.cmake
parent
cf5a2581
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/FindJSONC.cmake
+19
-0
19 additions, 0 deletions
modules/FindJSONC.cmake
with
19 additions
and
0 deletions
modules/FindJSONC.cmake
0 → 100644
+
19
−
0
View file @
c8a73890
# Find json-c
find_library
(
JSONC_LIBRARIES
NAMES json-c json
HINTS /lib /lib64 /usr/lib /usr/lib64
DOC
"json-c library"
)
find_path
(
JSONC_INCLUDE_DIRS
NAMES json.h
HINTS /usr/include/json /usr/include/json-c
DOC
"json-c headers"
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
json-c
DEFAULT_MSG JSONC_LIBRARIES JSONC_INCLUDE_DIRS
)
mark_as_advanced
(
JSONC_INCLUDE_DIRS JSONC_LIBRARIES
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment