Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cJSON
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
OpenVMS
libraries
cJSON
Commits
46e7cbe18d11
Commit
46e7cbe18d11
authored
5 years ago
by
Romain Lesteven
Browse files
Options
Downloads
Patches
Plain Diff
Fix make.sh install unwanted config files
parent
fe0968269d46
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+6
-4
6 additions, 4 deletions
CMakeLists.txt
with
6 additions
and
4 deletions
CMakeLists.txt
+
6
−
4
View file @
46e7cbe1
...
...
@@ -223,7 +223,8 @@
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/library_config/cJSONConfigVersion.cmake.in"
${
PROJECT_BINARY_DIR
}
/cJSONConfigVersion.cmake @ONLY
)
if
(
ENABLE_TARGET_EXPORT
)
# Install package config files
install
(
FILES
${
PROJECT_BINARY_DIR
}
/cJSONConfig.cmake
${
PROJECT_BINARY_DIR
}
/cJSONConfigVersion.cmake
DESTINATION
"
${
CMAKE_INSTALL_FULL_LIBDIR
}
/cmake/cJSON"
)
...
...
@@ -226,7 +227,8 @@
# Install package config files
install
(
FILES
${
PROJECT_BINARY_DIR
}
/cJSONConfig.cmake
${
PROJECT_BINARY_DIR
}
/cJSONConfigVersion.cmake
DESTINATION
"
${
CMAKE_INSTALL_FULL_LIBDIR
}
/cmake/cJSON"
)
endif
()
option
(
ENABLE_CJSON_TEST
"Enable building cJSON test"
ON
)
if
(
ENABLE_CJSON_TEST
)
...
...
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