Change back the library name to exiv2. Generate PDBs in CURRENT_BINARY_DIR.

We need to specify where to generate the PDB so that it does not clash with the PDB file generated
for the exiv2 application.
This commit is contained in:
Luis Díaz Más 2018-10-27 16:26:33 +02:00
parent 8d5d453c13
commit c34c545e31

View File

@ -205,6 +205,8 @@ endif()
set_target_properties( exiv2lib PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
OUTPUT_NAME exiv2
PDB_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMPILE_FLAGS ${EXTRA_COMPILE_FLAGS}
)