Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
9c6732f0
Commit
9c6732f0
authored
Apr 10, 2026
by
one
Browse files
fix hiprtc target
parent
efd89169
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
platforms/hip/CMakeLists.txt
platforms/hip/CMakeLists.txt
+15
-1
No files found.
platforms/hip/CMakeLists.txt
View file @
9c6732f0
...
...
@@ -12,7 +12,21 @@
# libOpenMMHIP_static.a
#----------------------------------------------------
FIND_PACKAGE
(
HIPRTC CONFIG
)
IF
(
NOT TARGET hiprtc::hiprtc
)
add_library
(
hiprtc::hiprtc SHARED IMPORTED
)
set_target_properties
(
hiprtc::hiprtc PROPERTIES
IMPORTED_LOCATION
"/opt/dtk/hip/lib/libhiprtc.so"
INTERFACE_INCLUDE_DIRECTORIES
"/opt/dtk/hip/include"
)
ENDIF
()
IF
(
NOT TARGET hiprtc::hiprtc
)
add_library
(
hiprtc::hiprtc SHARED IMPORTED
)
set_target_properties
(
hiprtc::hiprtc PROPERTIES
IMPORTED_LOCATION
"/opt/dtk/hip/lib/libhiprtc.so"
INTERFACE_INCLUDE_DIRECTORIES
"/opt/dtk/hip/include"
)
ENDIF
()
SET
(
OPENMM_BUILD_HIP_TESTS TRUE CACHE BOOL
"Whether to build HIP test cases"
)
IF
(
BUILD_TESTING AND OPENMM_BUILD_HIP_TESTS
)
...
...
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