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
aa9735f9
Commit
aa9735f9
authored
Feb 06, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mingw build
parent
792fb3bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
19 deletions
+24
-19
CMakeLists.txt
modules/highgui/CMakeLists.txt
+24
-19
No files found.
modules/highgui/CMakeLists.txt
View file @
aa9735f9
...
...
@@ -216,32 +216,37 @@ if(WITH_ANDROID_CAMERA AND OPENCV_MODULE_ANDROIDCAMERA)
endif
()
if
(
HAVE_XIMEA AND XIMEA_FOUND
)
set
(
highgui_srcs
${
highgui_srcs
}
src/cap_ximea.cpp
)
include_directories
(
${
XIMEA_PATH
}
)
link_directories
(
${
XIMEA_LIBRARY_DIR
}
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
m3api
)
set
(
highgui_srcs
${
highgui_srcs
}
src/cap_ximea.cpp
)
set
(
highgui_srcs
${
highgui_srcs
}
src/cap_ximea.cpp
)
include_directories
(
${
XIMEA_PATH
}
)
link_directories
(
${
XIMEA_LIBRARY_DIR
}
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
m3api
)
set
(
highgui_srcs
${
highgui_srcs
}
src/cap_ximea.cpp
)
endif
()
if
(
OPENNI_LIBRARY
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
${
OPENNI_LIBRARY
}
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
${
OPENNI_LIBRARY
}
)
endif
()
if
(
APPLE AND NOT IOS
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
bz2
"-framework Cocoa"
"-framework QuartzCore"
)
if
(
WITH_CARBON
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
"-framework Carbon"
)
endif
()
if
(
NOT WITH_QUICKTIME
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
"-framework QTKit"
)
endif
()
if
(
WITH_CARBON OR WITH_QUICKTIME
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
"-framework QuickTime"
"-framework CoreFoundation"
)
endif
()
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
bz2
"-framework Cocoa"
"-framework QuartzCore"
)
if
(
WITH_CARBON
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
"-framework Carbon"
)
endif
()
if
(
NOT WITH_QUICKTIME
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
"-framework QTKit"
)
endif
()
if
(
WITH_CARBON OR WITH_QUICKTIME
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
"-framework QuickTime"
"-framework CoreFoundation"
)
endif
()
endif
()
if
(
IOS
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
bz2
"-framework QuartzCore"
"-framework CoreFoundation"
"-framework ImageIO"
"-framework CoreGraphics"
"-framework AVFoundation"
)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
bz2
"-framework QuartzCore"
"-framework CoreFoundation"
"-framework ImageIO"
"-framework CoreGraphics"
"-framework AVFoundation"
)
endif
()
if
(
MINGW
)
link_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../3rdparty/lib"
)
include_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../3rdparty/include"
)
#for directshow
endif
()
source_group
(
"Src"
FILES
${
highgui_srcs
}
${
highgui_hdrs
}
)
...
...
@@ -253,11 +258,11 @@ ocv_module_include_directories()
ocv_create_module
(
${
GRFMT_LIBS
}
${
HIGHGUI_LIBRARIES
}
)
if
(
BUILD_SHARED_LIBS
)
add_definitions
(
-DHIGHGUI_EXPORTS
)
add_definitions
(
-DHIGHGUI_EXPORTS
)
endif
()
if
(
MSVC
)
set_target_properties
(
${
the_module
}
PROPERTIES LINK_FLAGS
"/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /NODEFAULTLIB:libcmt.lib /DEBUG"
)
set_target_properties
(
${
the_module
}
PROPERTIES LINK_FLAGS
"/NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:atlsd.lib /NODEFAULTLIB:libcmt.lib /DEBUG"
)
endif
()
#stop automatic dependencies propagation for this module
...
...
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