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
b5b00d9a
Commit
b5b00d9a
authored
Sep 14, 2010
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor (unset NPP library variables if not found)
parent
37d39bd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
FindNPP.cmake
modules/gpu/FindNPP.cmake
+5
-5
No files found.
modules/gpu/FindNPP.cmake
View file @
b5b00d9a
...
...
@@ -77,16 +77,16 @@ find_library(CUDA_NPP_LIBRARIES
find_library
(
CUDA_NPP_LIBRARIES NAMES npp
${
NPP_SUFFIX
}
libnpp
${
NPP_SUFFIX
}
DOC
"NPP library"
)
mark_as_advanced
(
CUDA_NPP_LIBRARIES
)
if
(
NOT EXISTS
${
CUDA_NPP_LIBRARIES
}
OR NOT EXISTS
${
CUDA_NPP_INCLUDES
}
/npp.h
)
if
(
NOT EXISTS
${
CUDA_NPP_LIBRARIES
}
OR NOT EXISTS
${
CUDA_NPP_INCLUDES
}
/npp.h
)
set
(
CUDA_FOUND FALSE
)
unset
(
CUDA_NPP_INCLUDES CACHE
)
unset
(
CUDA_NPP_LIBRARIES CACHE
)
if
(
NPP_FIND_REQUIRED
)
message
(
FATAL_ERROR
"NPP headers/libraries are not found. Specify CUDA_NPP_LIBRARY_ROOT_DIR."
)
elseif
(
NOT CUDA_FIND_QUIETLY
)
message
(
"NPP headers/libraries are not found or CUDA_NPP_LIBRARY_ROOT_DIR not specified."
)
endif
()
set
(
CUDA_FOUND FALSE
)
unset
(
CUDA_NPP_INCLUDES CACHE
)
unset
(
CUDA_NPP_LIBRARIES CACHE
)
else
()
if
(
APPLE
)
...
...
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