Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ftl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Pope
ftl
Commits
cfb867f4
Commit
cfb867f4
authored
5 years ago
by
Nicolas Pope
Browse files
Options
Downloads
Patches
Plain Diff
Fix for finding opencv viz in linux, although might break in windows
parent
886b533d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cv-node/CMakeLists.txt
+1
-1
1 addition, 1 deletion
cv-node/CMakeLists.txt
cv-node/cmake/FindLibSGM.cmake
+1
-3
1 addition, 3 deletions
cv-node/cmake/FindLibSGM.cmake
cv-node/cmake/Findglog.cmake
+1
-3
1 addition, 3 deletions
cv-node/cmake/Findglog.cmake
with
3 additions
and
7 deletions
cv-node/CMakeLists.txt
+
1
−
1
View file @
cfb867f4
...
...
@@ -36,7 +36,7 @@ include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories
(
${
PROJECT_BINARY_DIR
}
)
# Check for optional opencv components
set
(
CMAKE_REQUIRED_INCLUDES
"
${
OpenCV_
DIR
}
/include"
)
set
(
CMAKE_REQUIRED_INCLUDES
${
OpenCV_
INCLUDE_DIRS
}
)
check_include_file_cxx
(
"opencv2/viz.hpp"
HAVE_VIZ
)
check_include_file_cxx
(
"opencv2/cudastereo.hpp"
HAVE_OPENCVCUDA
)
...
...
This diff is collapsed.
Click to expand it.
cv-node/cmake/FindLibSGM.cmake
+
1
−
3
View file @
cfb867f4
...
...
@@ -31,13 +31,11 @@ find_path(LIBSGM_INCLUDE_DIRS
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
LibSGM DEFAULT_MSG LIBSGM_LIBRARY LIBSGM_INCLUDE_DIRS
)
message
(
STATUS
"(LIBSGM_FOUND :
${
LIBSGM_FOUND
}
include:
${
LIBSGM_INCLUDE_DIRS
}
, lib:
${
LIBSGM_LIBRARY
}
)"
)
mark_as_advanced
(
LIBSGM_FOUND
)
if
(
LIBSGM_FOUND
)
include_directories
(
${
LIBSGM_INCLUDE_DIRS
}
)
set
(
LIBSGM_FOUND TRUE CACHE BOOL
""
FORCE
)
set
(
LIBSGM_LIBRARIES
${
LIBSGM_LIBRARY
}
)
message
(
STATUS
"
LibSGM found ( include:
${
LIBSGM_INCLUDE_DIRS
}
, lib:
${
LIBSGM_LIBRARY
}
)
"
)
message
(
STATUS
"
Found libSGM
"
)
endif
()
This diff is collapsed.
Click to expand it.
cv-node/cmake/Find
GLOG
.cmake
→
cv-node/cmake/Find
glog
.cmake
+
1
−
3
View file @
cfb867f4
...
...
@@ -27,13 +27,11 @@ find_path(GLOG_INCLUDE_DIRS
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
glog DEFAULT_MSG GLOG_LIBRARY GLOG_INCLUDE_DIRS
)
message
(
STATUS
"(GLOG_FOUND :
${
GLOG_FOUND
}
include:
${
GLOG_INCLUDE_DIRS
}
, lib:
${
GLOG_LIBRARY
}
)"
)
mark_as_advanced
(
GLOG_FOUND
)
if
(
GLOG_FOUND
)
include_directories
(
${
GLOG_INCLUDE_DIRS
}
)
set
(
GLOG_FOUND TRUE CACHE BOOL
""
FORCE
)
set
(
GLOG_LIBRARIES
${
GLOG_LIBRARY
}
)
message
(
STATUS
"
glog found ( include:
${
GLOG_INCLUDE_DIRS
}
, lib:
${
GLOG_LIBRARY
}
)"
)
message
(
STATUS
"
Found glog
)"
)
endif
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment