Skip to content

Commit 3c6f3f0

Browse files
committed
FindProj.cmake: allow finding PROJ 8 that has no longer proj_api.h (fixes #6249)
1 parent 7ce4ac1 commit 3c6f3f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindProj.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# PROJ_LIBRARY
77

88

9-
FIND_PATH(PROJ_INCLUDE_DIR proj_api.h)
9+
FIND_PATH(PROJ_INCLUDE_DIR NAMES proj.h proj_api.h)
1010

1111
FIND_LIBRARY(PROJ_LIBRARY NAMES proj proj_i)
1212

0 commit comments

Comments
 (0)