Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
65dc2602
Commit
65dc2602
authored
Jul 31, 2017
by
Rashad Kanavath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DOC: add comment to why these steps?
parent
1b8d1046
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
SuperBuild/CMake/External_zlib.cmake
SuperBuild/CMake/External_zlib.cmake
+2
-0
No files found.
SuperBuild/CMake/External_zlib.cmake
View file @
65dc2602
...
...
@@ -39,12 +39,14 @@ ExternalProject_Add(ZLIB
LOG_INSTALL 1
)
#patch zlib cmake to disable static build on request
if
(
UNIX
)
ExternalProject_Add_Step
(
ZLIB remove_static
COMMAND
${
CMAKE_COMMAND
}
-E remove
${
SB_INSTALL_PREFIX
}
/lib/libz.a
DEPENDEES install
)
endif
()
#check who uses zdll.lib and remove this hack
if
(
MSVC
)
ExternalProject_Add_Step
(
ZLIB msvc_copy_hell
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
ZLIB_SB_BUILD_DIR
}
/zlib.lib
${
SB_INSTALL_PREFIX
}
/lib/zdll.lib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment