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
88a7a8f5
Commit
88a7a8f5
authored
Sep 13, 2010
by
Andrey Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed build npp for linux
parent
74c4b5a5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
FindNPP.cmake
modules/gpu/FindNPP.cmake
+4
-3
No files found.
modules/gpu/FindNPP.cmake
View file @
88a7a8f5
...
...
@@ -47,7 +47,7 @@ if(${CMAKE_SIZEOF_VOID_P} EQUAL 4)
else
()
set
(
NPP_SUFFIX
"-mt"
)
endif
()
else
if
(
${
CMAKE_SIZEOF_VOID_P
}
EQUAL 4
)
else
(
${
CMAKE_SIZEOF_VOID_P
}
EQUAL 4
)
if
(
UNIX OR APPLE
)
set
(
NPP_SUFFIX
"64"
)
else
()
...
...
@@ -67,13 +67,14 @@ mark_as_advanced(CUDA_NPP_INCLUDES)
# Find NPP library
find_library
(
CUDA_NPP_LIBRARIES
NAMES libnpp
${
NPP_SUFFIX
}
NAMES
npp
${
NPP_SUFFIX
}
libnpp
${
NPP_SUFFIX
}
PATHS
"
${
CUDA_NPP_LIBRARY_ROOT_DIR
}
/common/lib"
DOC
"NPP library"
NO_DEFAULT_PATH
)
# Search default search paths, after we search our own set of paths.
find_library
(
CUDA_NPP_LIBRARIES NAMES libnpp
${
NPP_SUFFIX
}
DOC
"NPP library"
)
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
)
...
...
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