Replace EXIV2_ENABLE_SHARED by BUILD_SHARED_LIBS. Also use EXV_HAVE_DLL only for the exiv2lib target

This commit is contained in:
Luis Díaz Más
2017-08-23 21:03:58 +02:00
committed by Luis Diaz Mas
parent 1bd985a287
commit 31a51fda8a
10 changed files with 16 additions and 19 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ cd build.cmake
cmake -G "$MAKEFILES_TYPE" . \
-DCMAKE_BUILD_TYPE=debugfull \
-DCMAKE_INSTALL_PREFIX=/usr \
-DEXIV2_ENABLE_SHARED=ON \
-DBUILD_SHARED_LIBS=ON \
-DEXIV2_ENABLE_XMP=ON \
-DEXIV2_ENABLE_LIBXMP=ON \
-DEXIV2_ENABLE_PNG=ON \