Skip to content

Commit

Permalink
Remove FindZLIB again - already present in CMake 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Idel committed Aug 5, 2019
1 parent d1589fc commit b4e8bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 50 deletions.
5 changes: 2 additions & 3 deletions rviz_ogre_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ macro(build_ogre)
endif()
if(BUILDING_ZLIB_LOCALLY)
list(APPEND extra_cmake_args
"-DZLIB_ROOT=${CMAKE_CURRENT_BINARY_DIR}/zlib_install")
"-DZLIB_ROOT=${CMAKE_CURRENT_BINARY_DIR}/zlib-install")
endif()

if(DEFINED CMAKE_TOOLCHAIN_FILE)
Expand Down Expand Up @@ -176,8 +176,7 @@ macro(build_ogre)
${extra_cmake_args}
-Wno-dev
PATCH_COMMAND
${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/FindFreetype.cmake ${CMAKE_CURRENT_BINARY_DIR}/ogre-master-ca665a6-prefix/src/ogre-master-ca665a6/CMake/Packages/FindFreetype.cmake &&
${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/FindZLIB.cmake ${CMAKE_CURRENT_BINARY_DIR}/ogre-master-ca665a6-prefix/src/ogre-master-ca665a6/CMake/Packages/FindZLIB.cmake
${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/FindFreetype.cmake ${CMAKE_CURRENT_BINARY_DIR}/ogre-master-ca665a6-prefix/src/ogre-master-ca665a6/CMake/Packages/FindFreetype.cmake
)

if(BUILDING_FREETYPE_LOCALLY)
Expand Down
47 changes: 0 additions & 47 deletions rviz_ogre_vendor/FindZLIB.cmake

This file was deleted.

0 comments on commit b4e8bda

Please sign in to comment.