Commit 2ebd7967 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

nomsg

parent 19852668
......@@ -63,7 +63,21 @@ IF (NOT CAI_LIBRARY)
ENDIF (NOT CAI_LIBRARY)
INCLUDE_DIRECTORIES(${CAI_INCLUDES})
#LINK_DIRECTORIES( $ENV{CAI_DIR_LIB} )
LINK_DIRECTORIES( $ENV{CAI_DIR_LIB} )
#-------------------------------
# Librairie GDAL
#-------------------------------
FIND_LIBRARY(GDAL_LIBRARY NAMES gdal PATHS $ENV{GDAL_DIR_LIB} )
FIND_PATH(GDAL_INCLUDES gdal.h $ENV{GDAL_DIR_INCLUDES} )
IF (NOT GDAL_LIBRARY)
MESSAGE(FATAL_ERROR
"Cannot find GDAL library. Please set GDAL_DIR_LIB.")
ENDIF (NOT GDAL_LIBRARY)
INCLUDE_DIRECTORIES(${GDAL_INCLUDES})
LINK_DIRECTORIES( $ENV{GDAL_DIR_LIB} )
#-------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment