Skip to content

Commit f293e5b

Browse files
committed
sawConfig.cmake: keep the library path even in case of install so user defined libraries are preserved
1 parent 47f5dbc commit f293e5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/sawConfig.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# (C) Copyright 2011-2021 Johns Hopkins University (JHU), All Rights Reserved.
2+
# (C) Copyright 2011-2025 Johns Hopkins University (JHU), All Rights Reserved.
33
#
44

55
set (@_cacf_component_name@_VERSION_MAJOR "@_cacf_version_major@")
@@ -27,7 +27,7 @@ else ()
2727
NAMES @_cacf_component_name@/@_cacf_component_name@Export.h
2828
HINTS ${THIS_FILE_PATH}/../.. ${THIS_FILE_PATH}/../../..)
2929
# set library path relative to include
30-
set (@_cacf_component_name@_LIBRARY_DIR "${@_cacf_component_name@_INCLUDE_DIR}/../lib")
30+
set (@_cacf_component_name@_LIBRARY_DIR "${@_cacf_component_name@_INCLUDE_DIR}/../lib" "@_cacf_library_dir@")
3131
endif ()
3232

3333
set (@_cacf_component_name@_LIBRARIES "@_cacf_libraries@")

0 commit comments

Comments
 (0)