Skip to content

Commit

Permalink
Renamed opencv packages
Browse files Browse the repository at this point in the history
  • Loading branch information
willyd committed Oct 12, 2016
1 parent 13ac286 commit a172f51
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_v120_x64.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cmake -G Ninja ^
-D PROTOBUF_BUILD_SHARED_LIBS:BOOL=OFF ^
-D OPENBLAS_BUILD_SHARED_LIBS:BOOL=ON ^
-D SNAPPY_BUILD_SHARED_LIBS:BOOL=OFF ^
..\
%~dp0
:: build
cmake --build .
popd
5 changes: 3 additions & 2 deletions build_v140_x64.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
if NOT EXIST build_v140_x64 (
mkdir build_v140_x64
)

pushd build_v140_x64
:: Setup the environement for VS 2013 x64
:: Setup the environement for VS 2015 x64
call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" amd64
:: configure
:: Build all packages
Expand All @@ -21,7 +22,7 @@ cmake -G Ninja ^
-D PROTOBUF_BUILD_SHARED_LIBS:BOOL=OFF ^
-D OPENBLAS_BUILD_SHARED_LIBS:BOOL=ON ^
-D SNAPPY_BUILD_SHARED_LIBS:BOOL=OFF ^
..\
%~dp0
:: build
cmake --build .
popd
3 changes: 1 addition & 2 deletions packages/boost/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,5 @@ set(Boost_USE_STATIC_RUNTIME ${Boost_USE_STATIC_RUNTIME} CACHE BOOL \"\")
endforeach()

add_custom_target(${PROJECT_NAME})
add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_targets} ) #${${PROJECT_NAME}_install_include})
# Consuming projects need to use hdf5-shared, etc as libraries to link to
add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_targets})
endif()
4 changes: 3 additions & 1 deletion packages/opencv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ set(OpenCV_STATIC ${OpenCV_STATIC} CACHE BOOL \"\")
ExternalProject_Add(
${PROJECT_NAME}_download_contrib
URL "https://github.com/opencv/opencv_contrib/archive/3.1.0.tar.gz"
DOWNLOAD_NAME opencv-contrib-3.1.0.zip
DOWNLOAD_DIR ${CB_DOWNLOAD_DIR}
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
Expand Down Expand Up @@ -150,7 +151,8 @@ set(OpenCV_STATIC ${OpenCV_STATIC} CACHE BOOL \"\")

ExternalProject_Add(
${PROJECT_NAME}_download
URL "https://sourceforge.net/projects/opencvlibrary/files/opencv-unix/3.1.0/opencv-3.1.0.zip"
URL "https://github.com/opencv/opencv/archive/3.1.0.zip"
DOWNLOAD_NAME opencv-3.1.0.zip
DOWNLOAD_DIR ${CB_DOWNLOAD_DIR}
PATCH_COMMAND ${CMAKE_COMMAND} -E copy_if_different
"${CMAKE_CURRENT_SOURCE_DIR}/patches/CMakeListsPatch.txt"
Expand Down

0 comments on commit a172f51

Please sign in to comment.