Skip to content

Commit d89551d

Browse files
Benedikt Volkelsawenzel
authored andcommitted
Fix path to pick up targets in CMake config
1 parent eeae796 commit d89551d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/MCStepLoggerConfig.cmake.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Compute installation prefix relative to this file
2-
get_filename_component(_prefix "${_dir}/../.." ABSOLUTE)
2+
3+
get_filename_component(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
34

45
# Import targets
56
include("${_dir}/MCStepLoggerTargets.cmake")

0 commit comments

Comments
 (0)