Skip to content

Commit e3cfc08

Browse files
authored
Merge pull request #138 from rouault/fix_137
Fix build issue on geotifcp when PROJ is not installed in a system directory
2 parents 9e6d126 + bfbaac5 commit e3cfc08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libgeotiff/bin/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ TARGET_LINK_LIBRARIES(geotifcp
3131
${GEOTIFF_LIBRARY_TARGET}
3232
${JPEG_LIBRARIES}
3333
${ZLIB_LIBRARIES})
34+
target_include_directories(geotifcp PRIVATE $<TARGET_PROPERTY:${PROJ_LIBRARIES},INTERFACE_INCLUDE_DIRECTORIES>)
3435

3536
SET(GEOTIFF_UTILITIES ${GEOTIFF_UTILITIES} geotifcp )
3637

0 commit comments

Comments
 (0)