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
a76ff5c3
Commit
a76ff5c3
authored
6 years ago
by
Sebastian Hahta
Browse files
Options
Downloads
Patches
Plain Diff
Add PCL to CMake files
parent
5f8cb8f4
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+3
-0
3 additions, 0 deletions
CMakeLists.txt
vision/CMakeLists.txt
+5
-1
5 additions, 1 deletion
vision/CMakeLists.txt
with
8 additions
and
1 deletion
CMakeLists.txt
+
3
−
0
View file @
a76ff5c3
...
@@ -21,8 +21,11 @@ find_package( Threads REQUIRED )
...
@@ -21,8 +21,11 @@ find_package( Threads REQUIRED )
find_package
(
URIParser REQUIRED
)
find_package
(
URIParser REQUIRED
)
find_package
(
MsgPack REQUIRED
)
find_package
(
MsgPack REQUIRED
)
find_package
(
LibSGM
)
find_package
(
LibSGM
)
find_package
(
PCL
)
#find_package( ZLIB REQUIRED )
#find_package( ZLIB REQUIRED )
set
(
CMAKE_CXX_STANDARD 17
)
# For PCL/VTK https://github.com/PointCloudLibrary/pcl/issues/2686
# Readline library is not required on Windows
# Readline library is not required on Windows
# May also entirely remove dependence on this... it should be optional at least.
# May also entirely remove dependence on this... it should be optional at least.
if
(
NOT WIN32
)
if
(
NOT WIN32
)
...
...
This diff is collapsed.
Click to expand it.
vision/CMakeLists.txt
+
5
−
1
View file @
a76ff5c3
...
@@ -46,7 +46,11 @@ if (CUDA_FOUND)
...
@@ -46,7 +46,11 @@ if (CUDA_FOUND)
set_property
(
TARGET ftl-vision PROPERTY CUDA_SEPARABLE_COMPILATION ON
)
set_property
(
TARGET ftl-vision PROPERTY CUDA_SEPARABLE_COMPILATION ON
)
endif
()
endif
()
# TODO: move PCL stuff elsewhere
target_include_directories
(
ftl-vision PUBLIC
${
PCL_INCLUDE_DIRS
}
)
target_compile_definitions
(
ftl-vision PUBLIC
${
PCL_DEFINITIONS
}
)
#target_include_directories(cv-node PUBLIC ${PROJECT_SOURCE_DIR}/include)
#target_include_directories(cv-node PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_link_libraries
(
ftl-vision ftlcommon ftlrender Threads::Threads libelas
${
OpenCV_LIBS
}
${
LIBSGM_LIBRARIES
}
${
CUDA_LIBRARIES
}
glog::glog ftlnet
)
target_link_libraries
(
ftl-vision ftlcommon ftlrender Threads::Threads libelas
${
OpenCV_LIBS
}
${
LIBSGM_LIBRARIES
}
${
CUDA_LIBRARIES
}
glog::glog ftlnet
${
PCL_LIBRARIES
}
)
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