Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
stitchEm
Commits
6c4ce7f2
Commit
6c4ce7f2
authored
6 years ago
by
jerem
Committed by
jeremad
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make some linking public
we need this to make later versions of CUDA compile
parent
700276e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libvideostitch_CUDA.cmake
lib/libvideostitch_CUDA.cmake
+2
-2
No files found.
lib/libvideostitch_CUDA.cmake
View file @
6c4ce7f2
...
@@ -150,7 +150,7 @@ if(ANDROID)
...
@@ -150,7 +150,7 @@ if(ANDROID)
else
()
else
()
vs_lib_link_libraries
(
"PUBLIC_CUDA"
${
CUDART
}
${
CUDA_LIBRARIES
}
${
NVTX
}
)
vs_lib_link_libraries
(
"PUBLIC_CUDA"
${
CUDART
}
${
CUDA_LIBRARIES
}
${
NVTX
}
)
vs_lib_link_libraries
(
"CUDA"
${
OpenGL
}
${
OPENGL_LIBRARIES
}
${
GLEW_LIBRARIES
}
${
GLEW
}
)
vs_lib_link_libraries
(
"CUDA"
${
OpenGL
}
${
OPENGL_LIBRARIES
}
${
GLEW_LIBRARIES
}
${
GLEW
}
)
vs_lib_link_libraries
(
"CUDA"
${
NVML
}
)
vs_lib_link_libraries
(
"
PUBLIC_
CUDA"
${
NVML
}
)
if
(
CMAKE_CROSSCOMPILING
)
if
(
CMAKE_CROSSCOMPILING
)
# needed by ceres
# needed by ceres
vs_lib_link_libraries
(
"CUDA"
-fopenmp
)
vs_lib_link_libraries
(
"CUDA"
-fopenmp
)
...
@@ -159,7 +159,7 @@ else()
...
@@ -159,7 +159,7 @@ else()
if
(
APPLE
)
if
(
APPLE
)
vs_lib_link_libraries
(
"CUDA"
"-Wl,-F/Library/Frameworks -weak_framework CUDA"
)
vs_lib_link_libraries
(
"CUDA"
"-Wl,-F/Library/Frameworks -weak_framework CUDA"
)
else
()
else
()
vs_lib_link_libraries
(
"CUDA"
${
CUDA
}
)
vs_lib_link_libraries
(
"
PUBLIC_
CUDA"
${
CUDA
}
)
endif
()
endif
()
endif
(
ANDROID
)
endif
(
ANDROID
)
This diff is collapsed.
Click to expand it.
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