Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
06455fc0
Commit
06455fc0
authored
Feb 05, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10764 from sturkmen72:update_cmake
parents
56bcdfd7
3b191bf2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
CMakeLists.txt
CMakeLists.txt
+1
-0
OpenCVFindWebP.cmake
cmake/OpenCVFindWebP.cmake
+1
-1
CMakeLists.txt
modules/highgui/CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
06455fc0
...
@@ -197,6 +197,7 @@ OCV_OPTION(BUILD_JASPER "Build libjasper from source" WIN32 O
...
@@ -197,6 +197,7 @@ OCV_OPTION(BUILD_JASPER "Build libjasper from source" WIN32 O
OCV_OPTION
(
BUILD_JPEG
"Build libjpeg from source"
WIN32 OR ANDROID OR APPLE
)
OCV_OPTION
(
BUILD_JPEG
"Build libjpeg from source"
WIN32 OR ANDROID OR APPLE
)
OCV_OPTION
(
BUILD_PNG
"Build libpng from source"
WIN32 OR ANDROID OR APPLE
)
OCV_OPTION
(
BUILD_PNG
"Build libpng from source"
WIN32 OR ANDROID OR APPLE
)
OCV_OPTION
(
BUILD_OPENEXR
"Build openexr from source"
(
WIN32 OR ANDROID OR APPLE
)
AND NOT WINRT
)
OCV_OPTION
(
BUILD_OPENEXR
"Build openexr from source"
(
WIN32 OR ANDROID OR APPLE
)
AND NOT WINRT
)
OCV_OPTION
(
BUILD_WEBP
"Build WebP from source"
(
WIN32 OR ANDROID OR APPLE
)
AND NOT WINRT
)
OCV_OPTION
(
BUILD_TBB
"Download and build TBB from source"
ANDROID
)
OCV_OPTION
(
BUILD_TBB
"Download and build TBB from source"
ANDROID
)
OCV_OPTION
(
BUILD_IPP_IW
"Build IPP IW from source"
NOT MINGW
IF
(
X86_64 OR X86
)
AND NOT WINRT
)
OCV_OPTION
(
BUILD_IPP_IW
"Build IPP IW from source"
NOT MINGW
IF
(
X86_64 OR X86
)
AND NOT WINRT
)
OCV_OPTION
(
BUILD_ITT
"Build Intel ITT from source"
NOT MINGW
IF
(
X86_64 OR X86
)
AND NOT WINRT AND NOT APPLE_FRAMEWORK
)
OCV_OPTION
(
BUILD_ITT
"Build Intel ITT from source"
NOT MINGW
IF
(
X86_64 OR X86
)
AND NOT WINRT AND NOT APPLE_FRAMEWORK
)
...
...
cmake/OpenCVFindWebP.cmake
View file @
06455fc0
...
@@ -23,7 +23,7 @@ else()
...
@@ -23,7 +23,7 @@ else()
FIND_LIBRARY
(
WEBP_LIBRARY NAMES webp
)
FIND_LIBRARY
(
WEBP_LIBRARY NAMES webp
)
MARK_AS_ADVANCED
(
WEBP_LIBRARY
)
MARK_AS_ADVANCED
(
WEBP_LIBRARY
)
# handle the QUIETLY and REQUIRED arguments and set WEB
FOUND
_FOUND to TRUE if
# handle the QUIETLY and REQUIRED arguments and set WEB
P
_FOUND to TRUE if
# all listed variables are TRUE
# all listed variables are TRUE
INCLUDE
(
${
CMAKE_ROOT
}
/Modules/FindPackageHandleStandardArgs.cmake
)
INCLUDE
(
${
CMAKE_ROOT
}
/Modules/FindPackageHandleStandardArgs.cmake
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS
(
WebP DEFAULT_MSG WEBP_LIBRARY WEBP_INCLUDE_DIR
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS
(
WebP DEFAULT_MSG WEBP_LIBRARY WEBP_INCLUDE_DIR
)
...
...
modules/highgui/CMakeLists.txt
View file @
06455fc0
...
@@ -20,6 +20,10 @@ if(APPLE)
...
@@ -20,6 +20,10 @@ if(APPLE)
list
(
APPEND HIGHGUI_LIBRARIES
${
ZLIB_LIBRARIES
}
)
list
(
APPEND HIGHGUI_LIBRARIES
${
ZLIB_LIBRARIES
}
)
endif
()
endif
()
if
(
HAVE_WEBP
)
add_definitions
(
-DHAVE_WEBP
)
endif
()
set
(
highgui_hdrs
set
(
highgui_hdrs
${
CMAKE_CURRENT_LIST_DIR
}
/src/precomp.hpp
${
CMAKE_CURRENT_LIST_DIR
}
/src/precomp.hpp
)
)
...
...
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