Skip to content

Commit

Permalink
Merge pull request ekumenlabs#66 from Intermodalics/fix/opencv-3rdpar…
Browse files Browse the repository at this point in the history
…ty-libtiff-cmake

opencv: patch 3rdparty/libtiff/CMakeLists.txt to fix unknown CMake command error
  • Loading branch information
Juan Ignacio Ubeira authored Dec 19, 2018
2 parents 6919f1c + bf6c729 commit 6beca79
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion do_everything.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ mkdir -p $prefix/libs

# Start with catkin since we use it to build almost everything else
[ -d $prefix/target ] || mkdir -p $prefix/target
export CMAKE_PREFIX_PATH=$prefix/target

# Get the android ndk build helper script
# If file doesn't exist, then download and patch it
Expand Down
3 changes: 0 additions & 3 deletions get_ros_stuff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ cmd_exists git || die 'git was not found'

prefix=$(cd $1 && pwd)

[ "$CMAKE_PREFIX_PATH" = "" ] && die 'could not find target basedir. Have you run build_catkin.sh and sourced setup.bash?'

#cd $CMAKE_PREFIX_PATH
cd $prefix
mkdir -p catkin_ws/src && cd catkin_ws

Expand Down
9 changes: 9 additions & 0 deletions patches/opencv.patch
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,13 @@
+ DESTINATION ${OPENCV_OTHER_INSTALL_PATH} COMPONENT libs)
endif()
endif()
--- catkin_ws/src/opencv3/3rdparty/libtiff/CMakeLists.txt
+++ catkin_ws/src/opencv3/3rdparty/libtiff/CMakeLists.txt
@@ -7,6 +7,7 @@
include(CheckCSourceCompiles)
include(CheckFunctionExists)
include(CheckIncludeFile)
+include(CheckTypeSize)


# Find libm, if available

0 comments on commit 6beca79

Please sign in to comment.