Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rapidjson
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pirvi-public
rapidjson
Commits
b1c0c284
Commit
b1c0c284
authored
1 year ago
by
Aikawa Yataro
Committed by
Milo Yip
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
CMakeLists: include path fix + compatibility.
parent
d621dc9e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
RapidJSONConfig.cmake.in
+4
-0
4 additions, 0 deletions
RapidJSONConfig.cmake.in
with
5 additions
and
1 deletion
CMakeLists.txt
+
1
−
1
View file @
b1c0c284
...
...
@@ -195,7 +195,7 @@ install(FILES readme.md
# Add an interface target to export it
add_library
(
RapidJSON INTERFACE
)
target_include_directories
(
RapidJSON INTERFACE $<INSTALL_INTERFACE:include
/rapidjson
>
)
target_include_directories
(
RapidJSON INTERFACE $<INSTALL_INTERFACE:include>
)
install
(
DIRECTORY include/rapidjson
DESTINATION
"
${
INCLUDE_INSTALL_DIR
}
"
...
...
This diff is collapsed.
Click to expand it.
RapidJSONConfig.cmake.in
+
4
−
0
View file @
b1c0c284
...
...
@@ -17,3 +17,7 @@ get_filename_component(RapidJSON_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_target_property(RapidJSON_INCLUDE_DIR RapidJSON INTERFACE_INCLUDE_DIRECTORIES)
set( RapidJSON_INCLUDE_DIRS ${RapidJSON_INCLUDE_DIR} )
if(NOT TARGET rapidjson)
add_library(rapidjson ALIAS RapidJSON)
endif()
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