Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

Commit c96ea6d

Browse files
committed
get_filename_component ABSOLUTE
1 parent 88d3e63 commit c96ea6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/Modules/FindComputeCpp.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ find_library(COMPUTECPP_RUNTIME_LIBRARY
108108

109109
# Found the library, use only single hint from now on
110110
get_filename_component(computecpp_library_path "${COMPUTECPP_RUNTIME_LIBRARY}" DIRECTORY)
111-
set(computecpp_find_hint "${computecpp_library_path}/..")
111+
get_filename_component(computecpp_find_hint "${computecpp_library_path}/.." ABSOLUTE)
112112

113113
find_library(COMPUTECPP_RUNTIME_LIBRARY_DEBUG
114114
NAMES ComputeCpp_d ComputeCpp

0 commit comments

Comments
 (0)