aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorCharles Karney <charles@karney.com>2019-02-13 09:01:03 -0500
committerCharles Karney <charles@karney.com>2019-02-13 09:01:03 -0500
commitc1391ae62e1de0aeb12a3da7be3c77b06a8bef89 (patch)
tree4d8f7de5e20cc52e98746b4f07661e8abf8ce0e8 /cmake
parent06236ecbbae7c8cc8c9688573d1ee33b53c833b0 (diff)
downloadPROJ-c1391ae62e1de0aeb12a3da7be3c77b06a8bef89.tar.gz
PROJ-c1391ae62e1de0aeb12a3da7be3c77b06a8bef89.zip
Address issue #801: set CMake ${PROJ4_LIBRARIES} to PROJ4::proj
Diffstat (limited to 'cmake')
-rw-r--r--cmake/project-config.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/project-config.cmake.in b/cmake/project-config.cmake.in
index 57445463..c62ecb47 100644
--- a/cmake/project-config.cmake.in
+++ b/cmake/project-config.cmake.in
@@ -20,7 +20,7 @@ set (@PROJECT_NAME@_INCLUDE_DIRS "${_ROOT}/@INCLUDEDIR@")
set (@PROJECT_NAME@_LIBRARY_DIRS "${_ROOT}/@LIBDIR@")
set (@PROJECT_NAME@_BINARY_DIRS "${_ROOT}/@BINDIR@")
-set (@PROJECT_NAME@_LIBRARIES proj)
+set (@PROJECT_NAME@_LIBRARIES @PROJECT_NAME@::proj)
# Read in the exported definition of the library
include ("${_DIR}/@PROJECT_NAME_LOWER@-targets.cmake")
include ("${_DIR}/@PROJECT_NAME_LOWER@-namespace-targets.cmake")