Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pugixml
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
SCALE
Code
external
pugixml
Commits
99ad2616
Commit
99ad2616
authored
5 years ago
by
Isabella Muerte
Browse files
Options
Downloads
Patches
Plain Diff
Fix incorrect installation location for exported CMake targets
parent
6949232b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
with
2 additions
and
2 deletions
CMakeLists.txt
+
2
−
2
View file @
99ad2616
...
@@ -149,7 +149,7 @@ target_compile_options(pugixml
...
@@ -149,7 +149,7 @@ target_compile_options(pugixml
configure_package_config_file
(
configure_package_config_file
(
"
${
PROJECT_SOURCE_DIR
}
/scripts/pugixml-config.cmake.in"
"
${
PROJECT_SOURCE_DIR
}
/scripts/pugixml-config.cmake.in"
"
${
PROJECT_BINARY_DIR
}
/pugixml-config.cmake"
"
${
PROJECT_BINARY_DIR
}
/pugixml-config.cmake"
INSTALL_DESTINATION
${
CMAKE_INSTALL_
DATA
DIR
}
INSTALL_DESTINATION
${
CMAKE_INSTALL_
LIB
DIR
}
NO_CHECK_REQUIRED_COMPONENTS_MACRO
NO_CHECK_REQUIRED_COMPONENTS_MACRO
NO_SET_AND_CHECK_MACRO
)
NO_SET_AND_CHECK_MACRO
)
...
@@ -168,7 +168,7 @@ install(TARGETS ${install-targets}
...
@@ -168,7 +168,7 @@ install(TARGETS ${install-targets}
install
(
EXPORT pugixml-targets
install
(
EXPORT pugixml-targets
NAMESPACE pugixml::
NAMESPACE pugixml::
DESTINATION
${
CMAKE_INSTALL_
DATA
DIR
}
/cmake/pugixml
)
DESTINATION
${
CMAKE_INSTALL_
LIB
DIR
}
/cmake/pugixml
)
install
(
FILES
install
(
FILES
"
${
PROJECT_BINARY_DIR
}
/pugixml-config-version.cmake"
"
${
PROJECT_BINARY_DIR
}
/pugixml-config-version.cmake"
...
...
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