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
8e944cfe
Commit
8e944cfe
authored
Nov 14, 2013
by
Vincent Rabaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaner fix
parent
ee7c74ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
OpenCVConfig.cmake.in
cmake/templates/OpenCVConfig.cmake.in
+3
-7
No files found.
cmake/templates/OpenCVConfig.cmake.in
View file @
8e944cfe
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
# If the module is found then OPENCV_<MODULE>_FOUND is set to TRUE.
# If the module is found then OPENCV_<MODULE>_FOUND is set to TRUE.
#
#
# This file will define the following variables:
# This file will define the following variables:
# - OpenCV_FOUND : Set to TRUE is OpenCV was find_packaged before
# - OpenCV_LIBS : The list of all imported targets for OpenCV modules.
# - OpenCV_LIBS : The list of all imported targets for OpenCV modules.
# - OpenCV_INCLUDE_DIRS : The OpenCV include directories.
# - OpenCV_INCLUDE_DIRS : The OpenCV include directories.
# - OpenCV_COMPUTE_CAPABILITIES : The version of compute capability
# - OpenCV_COMPUTE_CAPABILITIES : The version of compute capability
...
@@ -37,17 +36,14 @@
...
@@ -37,17 +36,14 @@
#
#
# ===================================================================================
# ===================================================================================
if(OpenCV_FOUND)
return()
endif()
set(OpenCV_FOUND TRUE)
set(modules_file_suffix "")
set(modules_file_suffix "")
if(ANDROID)
if(ANDROID)
string(REPLACE - _ modules_file_suffix "_${ANDROID_NDK_ABI_NAME}")
string(REPLACE - _ modules_file_suffix "_${ANDROID_NDK_ABI_NAME}")
endif()
endif()
include(${CMAKE_CURRENT_LIST_DIR}/OpenCVModules${modules_file_suffix}.cmake)
if(NOT TARGET opencv_core)
include(${CMAKE_CURRENT_LIST_DIR}/OpenCVModules${modules_file_suffix}.cmake)
endif()
# TODO All things below should be reviewed. What is about of moving this code into related modules (special vars/hooks/files)
# TODO All things below should be reviewed. What is about of moving this code into related modules (special vars/hooks/files)
...
...
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