diff options
-rw-r--r-- | psi/msvc.mak | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/psi/msvc.mak b/psi/msvc.mak index 0891a16d3..1a2e4d3ad 100644 --- a/psi/msvc.mak +++ b/psi/msvc.mak @@ -720,6 +720,14 @@ JBIG2SRCDIR=jbig2dec JPX_LIB=openjpeg !endif +# If $EXTRACT_DIR is unset, and the 'extract' directory exists, +# default it to that. +!if "$(EXTRACT_DIR)" == "" +! if exist("extract") +EXTRACT_DIR=extract +! endif +!endif + # If $EXTRACT_DIR is set, build with Extract library. # !if "$(EXTRACT_DIR)" != "" |