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
e53b7d04
Commit
e53b7d04
authored
Jun 06, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Jun 06, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #955 from SpecLad:symlink
parents
7f9675bc
985bfea5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+2
-2
OpenCVUtils.cmake
cmake/OpenCVUtils.cmake
+0
-10
No files found.
cmake/OpenCVModule.cmake
View file @
e53b7d04
...
...
@@ -303,7 +303,7 @@ macro(ocv_glob_modules)
# collect modules
set
(
OPENCV_INITIAL_PASS ON
)
foreach
(
__path
${
ARGN
}
)
ocv_get_real_path
(
__path
"
${
__path
}
"
)
get_filename_component
(
__path
"
${
__path
}
"
ABSOLUTE
)
list
(
FIND __directories_observed
"
${
__path
}
"
__pathIdx
)
if
(
__pathIdx GREATER -1
)
...
...
@@ -315,7 +315,7 @@ macro(ocv_glob_modules)
if
(
__ocvmodules
)
list
(
SORT __ocvmodules
)
foreach
(
mod
${
__ocvmodules
}
)
ocv_get_real_path
(
__modpath
"
${
__path
}
/
${
mod
}
"
)
get_filename_component
(
__modpath
"
${
__path
}
/
${
mod
}
"
ABSOLUTE
)
if
(
EXISTS
"
${
__modpath
}
/CMakeLists.txt"
)
list
(
FIND __directories_observed
"
${
__modpath
}
"
__pathIdx
)
...
...
cmake/OpenCVUtils.cmake
View file @
e53b7d04
...
...
@@ -411,16 +411,6 @@ macro(ocv_regex_escape var regex)
endmacro
()
# get absolute path with symlinks resolved
macro
(
ocv_get_real_path VAR PATHSTR
)
if
(
CMAKE_VERSION VERSION_LESS 2.8
)
get_filename_component
(
${
VAR
}
"
${
PATHSTR
}
"
ABSOLUTE
)
else
()
get_filename_component
(
${
VAR
}
"
${
PATHSTR
}
"
REALPATH
)
endif
()
endmacro
()
# convert list of paths to full paths
macro
(
ocv_convert_to_full_paths VAR
)
if
(
${
VAR
}
)
...
...
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