From e3f975137c4aa6ad93f21791bee9ff66e7f7e2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Fri, 14 Sep 2018 08:55:12 +0200 Subject: [PATCH] Use STATIC_DEFINE to solve issues with OBJECT library --- src/CMakeLists.txt | 4 +++- unitTests/CMakeLists.txt | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2af9e896..9d40ad51 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -34,6 +34,7 @@ set( LIBEXIV2_SRC rafimage.cpp riffvideo.cpp rw2image.cpp + tags.cpp tgaimage.cpp tiffimage.cpp types.cpp @@ -137,7 +138,6 @@ set( LIBEXIV2_PRIVATE_HDR samsungmn_int.hpp sigmamn_int.hpp sonymn_int.hpp - tags.cpp tags_int.hpp tiffcomposite_int.hpp tifffwd_int.hpp @@ -185,6 +185,7 @@ add_library( exiv2lib ${LIBEXIV2_SRC} ${LIBEXIV2_HDR} $ ) #TODO Use GTest::GTest once we upgrade the minimum CMake version required