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
4d7a593c
Commit
4d7a593c
authored
Mar 12, 2014
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cmake fix fo macos
parent
fde0185a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+2
-6
CMakeLists.txt
modules/viz/CMakeLists.txt
+4
-0
No files found.
cmake/OpenCVModule.cmake
View file @
4d7a593c
...
...
@@ -484,7 +484,7 @@ macro(ocv_glob_module_sources)
file
(
GLOB_RECURSE lib_int_hdrs
"src/*.hpp"
"src/*.h"
)
file
(
GLOB lib_hdrs
"include/opencv2/
${
name
}
/*.hpp"
"include/opencv2/
${
name
}
/*.h"
)
file
(
GLOB lib_hdrs_detail
"include/opencv2/
${
name
}
/detail/*.hpp"
"include/opencv2/
${
name
}
/detail/*.h"
)
file
(
GLOB_RECURSE lib_srcs_apple
"src/*.m
*
"
)
file
(
GLOB_RECURSE lib_srcs_apple
"src/*.m
m
"
)
if
(
APPLE
)
list
(
APPEND lib_srcs
${
lib_srcs_apple
}
)
endif
()
...
...
@@ -748,12 +748,8 @@ function(ocv_add_accuracy_tests)
endif
()
get_native_precompiled_header
(
${
the_target
}
test_precomp.hpp
)
add_executable
(
${
the_target
}
${
OPENCV_TEST_
${
the_module
}
_SOURCES
}
${${
the_target
}
_pch
}
)
if
(
APPLE AND
${
the_target
}
STREQUAL
"opencv_test_viz"
)
add_executable
(
${
the_target
}
MACOSX_BUNDLE
${
OPENCV_TEST_
${
the_module
}
_SOURCES
}
${${
the_target
}
_pch
}
)
else
()
add_executable
(
${
the_target
}
${
OPENCV_TEST_
${
the_module
}
_SOURCES
}
${${
the_target
}
_pch
}
)
endif
()
target_link_libraries
(
${
the_target
}
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
test_deps
}
${
OPENCV_LINKER_LIBS
}
)
add_dependencies
(
opencv_tests
${
the_target
}
)
...
...
modules/viz/CMakeLists.txt
View file @
4d7a593c
...
...
@@ -9,3 +9,7 @@ ocv_define_module(viz opencv_core ${VTK_LIBRARIES})
if
(
APPLE AND BUILD_opencv_viz
)
target_link_libraries
(
opencv_viz
"-framework Cocoa"
)
endif
()
if
(
TARGET opencv_test_viz
)
set_target_properties
(
opencv_test_viz PROPERTIES MACOSX_BUNDLE TRUE
)
endif
()
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