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
eac055a2
Commit
eac055a2
authored
Feb 04, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed ticket #1580
parent
b4895dbc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
14 deletions
+4
-14
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+0
-6
CMakeLists.txt
modules/highgui/CMakeLists.txt
+4
-8
No files found.
cmake/OpenCVModule.cmake
View file @
eac055a2
...
...
@@ -299,12 +299,6 @@ macro(ocv_glob_modules)
if
(
m MATCHES
"^opencv_"
)
string
(
REGEX REPLACE
"^opencv_"
""
__shortname
"
${
m
}
"
)
add_subdirectory
(
"
${
OPENCV_MODULE_
${
m
}
_LOCATION
}
"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
__shortname
}
"
)
#workaround for link_directories inheritance
get_directory_property
(
__lnkfix DIRECTORY
"
${
OPENCV_MODULE_
${
m
}
_LOCATION
}
"
LINK_DIRECTORIES
)
if
(
__lnkfix
)
link_directories
(
${
__lnkfix
}
)
endif
()
endif
()
endforeach
()
unset
(
__shortname
)
...
...
modules/highgui/CMakeLists.txt
View file @
eac055a2
...
...
@@ -244,18 +244,11 @@ if(IOS)
set
(
HIGHGUI_LIBRARIES
${
HIGHGUI_LIBRARIES
}
bz2
"-framework QuartzCore"
"-framework CoreFoundation"
"-framework ImageIO"
"-framework CoreGraphics"
"-framework AVFoundation"
)
endif
()
if
(
OPENCV_BUILD_3RDPARTY_LIBS AND WIN32
)
link_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../3rdparty/lib"
)
endif
()
source_group
(
"Src"
FILES
${
highgui_srcs
}
${
highgui_hdrs
}
)
source_group
(
"Include"
FILES
${
highgui_ext_hdrs
}
)
ocv_set_module_sources
(
HEADERS
${
highgui_ext_hdrs
}
SOURCES
${
highgui_srcs
}
${
highgui_hdrs
}
${
grfmt_srcs
}
${
grfmt_hdrs
}
)
ocv_module_include_directories
()
if
(
WIN32
)
include_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../3rdparty/include"
)
endif
()
ocv_create_module
(
${
GRFMT_LIBS
}
${
HIGHGUI_LIBRARIES
}
)
...
...
@@ -264,9 +257,12 @@ if(BUILD_SHARED_LIBS)
endif
()
if
(
MSVC
)
set_target_properties
(
${
the_
target
}
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
set_target_properties
(
${
the_module
}
PROPERTIES LINK_INTERFACE_LIBRARIES
""
)
ocv_add_precompiled_headers
(
${
the_module
}
)
ocv_add_accuracy_tests
()
...
...
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