Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Nektar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Jennifer Ryan
Nektar
Commits
9c3e94b6
Commit
9c3e94b6
authored
10 years ago
by
Chris Cantwell
Browse files
Options
Downloads
Patches
Plain Diff
Modified targets file writing for earlier versions of CMake.
parent
f7f8b623
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/CMakeCommon.cmake
+12
-2
12 additions, 2 deletions
pkg/CMakeCommon.cmake
with
12 additions
and
2 deletions
pkg/CMakeCommon.cmake
+
12
−
2
View file @
9c3e94b6
...
...
@@ -21,7 +21,12 @@ function (write_lib_files PKG_INSTALL_LIBS OUTPUT_FILE)
endforeach
()
# Output the list of files to be installed in the package
file
(
GENERATE OUTPUT
"
${
OUTPUT_FILE
}
"
CONTENT
"
${
PKG_INSTALL_LIBS_FILES
}
"
)
IF
(
${
CMAKE_MAJOR_VERSION
}
LESS 3
)
file
(
WRITE
"
${
OUTPUT_FILE
}
"
"
${
PKG_INSTALL_LIBS_FILES
}
"
)
ELSE
()
file
(
GENERATE OUTPUT
"
${
OUTPUT_FILE
}
"
CONTENT
"
${
PKG_INSTALL_LIBS_FILES
}
"
)
ENDIF
()
endfunction
()
function
(
write_bin_files PKG_INSTALL_BINS OUTPUT_FILE
)
...
...
@@ -40,7 +45,12 @@ function (write_bin_files PKG_INSTALL_BINS OUTPUT_FILE)
endforeach
()
# Output the list of files to be installed in the package
file
(
GENERATE OUTPUT
"
${
OUTPUT_FILE
}
"
CONTENT
"
${
PKG_INSTALL_BINS_FILES
}
"
)
IF
(
${
CMAKE_MAJOR_VERSION
}
LESS 3
)
file
(
WRITE
"
${
OUTPUT_FILE
}
"
"
${
PKG_INSTALL_BINS_FILES
}
"
)
ELSE
()
file
(
GENERATE OUTPUT
"
${
OUTPUT_FILE
}
"
CONTENT
"
${
PKG_INSTALL_BINS_FILES
}
"
)
ENDIF
()
endfunction
()
macro
(
add_deb_package
)
...
...
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