Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
DKS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Uldis Locans
DKS
Commits
5c9048a3
Commit
5c9048a3
authored
Aug 21, 2017
by
suter_a
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added a macOS specific flag which deals with path variables of shared libs
parent
ba701a57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
No files found.
CMakeLists.txt
View file @
5c9048a3
...
...
@@ -10,6 +10,9 @@ SET (PACKAGE_NAME \"DKS\")
SET
(
PACKAGE_TARNAME \"dks\"
)
SET
(
DKS_VERSION_STR
"
\"
${
DKS_VERSION
}
\"
"
)
SET
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
"
${
CMAKE_SOURCE_DIR
}
/cmake/Modules/"
)
if
(
APPLE
)
SET
(
CMAKE_MACOSX_RPATH TRUE
)
endif
(
APPLE
)
#get compiler name
#STRING (REGEX REPLACE ".*/([A-Za-z]*)$" "\\1" COMPILER_NAME ${CMAKE_CXX_COMPILER})
...
...
@@ -175,6 +178,9 @@ IF ( (${CMAKE_C_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_C_COMPILER_ID} STREQUAL "
MESSAGE
(
STATUS
"CUDA not found, looking for OpenCL"
)
FIND_PACKAGE
(
OpenCL
)
MESSAGE
(
"after FIND_PACKAGE(OpenCL): version:
${
OpenCL_VERSION_STRING
}
"
)
MESSAGE
(
"after FIND_PACKAGE(OpenCL): inc dir:
${
OpenCL_INCLUDE_DIR
}
"
)
MESSAGE
(
"after FIND_PACKAGE(OpenCL): lib dir:
${
OpenCL_LIBRARY
}
"
)
IF
(
OpenCL_FOUND
)
MESSAGE
(
STATUS
"OpenCL version :
${
OpenCL_VERSION_STRING
}
"
)
MESSAGE
(
STATUS
"OpenCL include dir:
${
OpenCL_INCLUDE_DIR
}
"
)
...
...
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