Skip to content
Snippets Groups Projects
Commit 69383f6f authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: handle system locations in TIFF

parent b0d6a51a
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,11 @@ set(proj TIFF)
set(DEFAULT_USE_SYSTEM_TIFF OFF)
option(USE_SYSTEM_TIFF " Use a system build of libtiff." ${DEFAULT_USE_SYSTEM_TIFF})
mark_as_advanced(USE_SYSTEM_TIFF)
SETUP_SYSTEM_LIBRARY(PROJECT ${proj} DOC " Use a system build of libtiff.")
ADD_SYSTEM_LOCATION(PROJECT ${proj} VARIABLES ${proj}_LIBRARY ${proj}_INCLUDE_DIR)
ADD_SYSTEM_PREFIX(PROJECT ${proj})
if(USE_SYSTEM_TIFF)
message(STATUS " Using libtiff system version")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment