Vadim Pisarevsky
799622affd
make sure opencv builds fine with the recent versions of libav (e.g. from Ubuntu 14.10)
...
(cherry picked from commit 2b2e3ee93c
)
Conflicts:
cmake/OpenCVFindLibsVideo.cmake
modules/videoio/src/cap.cpp
modules/videoio/src/cap_ffmpeg_impl.hpp
modules/videoio/src/ffmpeg_codecs.hpp
modules/videoio/test/test_ffmpeg.cpp
10 years ago
Alexander Smorkalov
57ab0d4d17
Debian packages header update to fix conflict with OpenCV from deb repo.
10 years ago
Roman Donchenko
02f8b85dd9
Add ARM64 packaging support
10 years ago
Roman Donchenko
1fbdca0c9b
Set CPACK_DEBIAN_PACKAGE_ARCHITECTURE instead of CPACK_DEBIAN_ARCHITECTURE
...
Because that's the variable actually used by CPack.
10 years ago
Ilya Lavrenov
d89b6226a3
fixed Android mk generation for arm64-v8a
10 years ago
Vladislav Vinogradov
21d8b588a2
exclude dates from report names
10 years ago
Vladislav Vinogradov
5d66b1130b
save tests console output to separate log files
10 years ago
Vladislav Vinogradov
0550b2c1fe
check that current directory has write access
10 years ago
Alexander Smorkalov
7f63776395
Precise default CUDA version for Tegra X1 chips.
10 years ago
Vladislav Vinogradov
cde697dd14
introduce BUILD_TINY_GPU_MODULE CMake option
...
it adds OPENCV_TINY_GPU_MODULE definition, that will allow
to build tiny version of gpu module (with limited image format support)
10 years ago
Alexander Smorkalov
63d6cc5ca6
Added explicit deb package dependency from libtbb-dev if TBB is enabled.
10 years ago
Patrik Huber
2b1103c1d3
Add support for VS2015
...
Without the fix, OpenCV will compile and silently copy the compiled libs/executables to a location not prefixed with arch/vc14, and OpenCV won't be picked up by find_package and OpenCVConfig.cmake.
10 years ago
Abhijit Kundu
fd4df0f67d
Added suuport for finding Intel TBB for Visual Studio 2013
10 years ago
Ilya Lavrenov
847976de4e
fixed find cuda for aarch64
10 years ago
Ilya Lavrenov
4273534c92
typo
10 years ago
Vladimir Kolesnikov
58c9135626
Not block PDB file in multithreaded build on Windows.
...
If used cl compiler, but generator is not Visual Studio e.g. Ninja,
enable FS option to prevent blocking PDB file in multithreaded build.
10 years ago
Roman Donchenko
6e121b2e29
Use imported targets for linking to CUDA
...
This retains the desirable quality of not including paths to CUDA libraries
from the build system into the config files, and has two major advantages:
* It removes the need to use link_directories, which doesn't guarantee that
the libraries from the supplied directory will be used (there may be
libraries with the same names earlier in the search path).
* It removes the need to put -L entries into OPENCV_LINKER_LIBS. This variable
is used with target_link_libraries, where such entries are treated as linker
flags, so doing this is unportable. I remove the support for -L entries
from OpenCVGenPkgconfig.cmake, as well, to discourage adding them in the
future.
10 years ago
Roman Donchenko
e6619cf580
Move the CUDA searching code in OpenCVConfig.cmake.in out of the foreach loop
...
There's no reason to do it twice.
10 years ago
Roman Donchenko
122b9f8e17
Turn ocv_convert_to_lib_name into a function
10 years ago
howtobeahacker
ebd7d08408
fix bug 4269
10 years ago
Alexander Nitsch
d430664791
Remove local variables from CMAKE namespace
10 years ago
Alexander Nitsch
13694c8ae8
Fix MinGW detection on x86
...
Make detection of x64 using the gcc's target triplet identical
to the one used in cmake/OpenCVDetectCXXCompiler.cmake.
Otherwise, MinGW-w64 setups will always be treated as x64 since
they contain "w64" as vendor key.
10 years ago
Alexander Nitsch
dde7c22fad
Fix MinGW architecture detection
...
Fix typo that would always lead to detection of x86 for MinGW
builds in the OpenCVConfig.cmake file.
10 years ago
Alexander Nitsch
a5b293b412
Fix setting of architecture for MinGW builds
...
The architecture has been correctly determined earlier in this
file. No need to do it again.
10 years ago
Ilya Lavrenov
e03136e951
backport from master
10 years ago
Alexander Nitsch
8ae6402799
Fix MinGW detection on x86
...
MinGW-w64 always uses "w64" as vendor key which the previously
used check for "64" anywhere in the target triplet matched. This
would lead to MinGW-w64 setups always being treated as x64.
Since we are actually interested in finding the "64" in the
triplet's operating system key, this fix makes sure to look for
"mingw64" and thus avoids the false match.
Fixes issue #3835 . Credits to Lode Leroy for the original patch.
10 years ago
Ilya Lavrenov
0832b47d21
fixed cross-compilation for Android with CUDA
10 years ago
Alexander Nitsch
c2944dbc0c
Exclude >= 2.8.3 from reimplementation of CMAKE_CURRENT_LIST_DIR
...
This avoids violation of possible future CMake policy checks
regarding reserved/read-only variables.
10 years ago
Roman Donchenko
cf54e3b97e
Mark the libs component required
...
Everything else depends on it, after all.
10 years ago
Roman Donchenko
6d52ea8984
Add component display names
10 years ago
Roman Donchenko
b8c60234c3
Update the CPack variables to match the changes in asmorkalov/CMake#1
...
Which also happens to align the non-Debian specific variables
with the ones used by upstream CMake.
10 years ago
Roman Donchenko
c1e3ca170e
Add a script to run all tests on Windows
...
It's pretty much a simplified copy of the Linux script, lacking fancy colors.
Also, I had to drop Python testing, because it's not easy to pass the Python
module location to the script, and I have no pressing need to run the Python
tests at the moment.
10 years ago
Alexander Nitsch
9665e08bac
Implement CMAKE_CURRENT_LIST_DIR for older CMake
...
The use of built-in CMAKE_CURRENT_LIST_DIR requires at least
CMake 2.8.3. This fix properly defines the variable to allow its
use in versions < 2.8.3 as well.
Fixes issue #4205 .
10 years ago
Roman Donchenko
49fe496914
Remove useless CPACK_*_COMPONENT_INSTALL variables
...
They don't actually do anything. And even if they did, all components are
enabled by default, anyway.
10 years ago
Roman Donchenko
0387f8ad56
Don't use ${CMAKE_INSTALL_PREFIX} as an install destination
...
Absolute destinations are not necessary, and prevent CPack from working.
10 years ago
Vladislav Vinogradov
682fdcfc9b
make color output in run_test script optional
10 years ago
Vladislav Vinogradov
94d14c637f
fix opencv_run_all_tests_unix.sh script:
...
use `bash` shell instead of `sh`, since on Ubuntu `sh` by default is `dash`,
and `dash` doesn't support `PIPESTATUS` feature used in this sctipt
10 years ago
Mansour Moufid
c60fa84027
Add back the version variables removed in ab40630f
.
10 years ago
Alexander Smorkalov
a87ccb9ac0
Added Debian changelog to -tests package.
10 years ago
Vladislav Vinogradov
2b303f38a8
colorize opencv_run_all_tests_unix.sh script output
10 years ago
Alexander Smorkalov
e6ac64008b
Debian package names replaced by lower case version to satisfy lintian.
10 years ago
Mansour Moufid
8c68f1f626
Fix indentation of 98a157f5
.
10 years ago
Mansour Moufid
98a157f589
Remove Apple-specific logic in finding the FFmpeg libraries.
...
Thanks to SpecLad.
10 years ago
Mansour Moufid
a1cc9380e5
Correct the new find_library commands.
...
Thanks to SpecLad.
10 years ago
Mansour Moufid
ab40630ff4
Use the CMake find_library command to find the FFmpeg libraries.
10 years ago
Alexander Smorkalov
cf852972d1
Fixed samples install permissions for Debian packaging.
10 years ago
Alexander Smorkalov
ddc1b965b6
Added Debian changelog installation step for Debian package generation.
10 years ago
Alexander Smorkalov
be6b847675
Added dependency from numpy to debian package with python bindings.
10 years ago
Alexander Smorkalov
9206ec30a2
opencv_testing.sh script installation is removed as run tests script does the same thing.
10 years ago
Vladislav Vinogradov
12a3eb776d
fix ocv_add_module CMake macro:
...
it tries to remove 'opencv_' prefix from 'name' variable, but
it creates new variable with the same name as module
10 years ago