Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
Usgscsm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
aflab
astrogeology
Usgscsm
Commits
b829900e
Commit
b829900e
authored
6 years ago
by
Makayla Shepherd
Browse files
Options
Downloads
Patches
Plain Diff
Trying to get make install to copy headers
parent
bb23e7d0
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
-10
6 additions, 10 deletions
CMakeLists.txt
with
6 additions
and
10 deletions
CMakeLists.txt
+
6
−
10
View file @
b829900e
...
@@ -30,18 +30,14 @@ add_library(usgscsm SHARED
...
@@ -30,18 +30,14 @@ add_library(usgscsm SHARED
set_target_properties
(
usgscsm PROPERTIES
set_target_properties
(
usgscsm PROPERTIES
VERSION
${
PROJECT_VERSION
}
VERSION
${
PROJECT_VERSION
}
SOVERSION 1
SOVERSION 1
UsgsAstroFramePlugin.h
UsgsAstroFrameSensorModel.h
UsgsAstroLsISD.h
UsgsAstroLsPlugin.h
UsgsAstroLsSensorModel.h
UsgsAstroLsStateData.h
)
)
set
(
USGSCAM_INCLUDE_DIRS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/usgscam"
)
target_include_directories
(
usgscsm
target_include_directories
(
usgscsm
PUBLIC
PUBLIC
include/usgscsm
${
USGSCAM_INCLUDE_DIRS
}
include/
${
CSM_INCLUDE_DIR
}
${
CSM_INCLUDE_DIR
}
)
)
...
@@ -55,8 +51,8 @@ target_link_libraries(usgscsm
...
@@ -55,8 +51,8 @@ target_link_libraries(usgscsm
if
(
WIN32
)
if
(
WIN32
)
install
(
TARGETS usgscsm
install
(
TARGETS usgscsm
RUNTIME DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
RUNTIME DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
PUBLIC_HEADER
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
)
install
(
DIRECTORY
${
USGSCAM_INCLUDE_DIRS
}
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/usgscam
)
else
()
else
()
install
(
TARGETS usgscsm
install
(
TARGETS usgscsm
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
...
...
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