aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Fetzer <fetzer.ch@gmail.com>2016-05-16 18:10:49 +0200
committerChristian Fetzer <fetzer.ch@gmail.com>2016-05-16 18:12:11 +0200
commitb0056da1738f68b5768bccbbef0f8f88ce61fb34 (patch)
tree49034b1386f20a116f3f87fccfb4fbb1ab1bd933 /lib
parent5bf3bbdfc70c4759b20abbee08a20aa25a726832 (diff)
[cmake/win32] Build addon libraries
Diffstat (limited to 'lib')
-rw-r--r--lib/libexif/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libexif/CMakeLists.txt b/lib/libexif/CMakeLists.txt
index cab539fef2..d21d4fc1d8 100644
--- a/lib/libexif/CMakeLists.txt
+++ b/lib/libexif/CMakeLists.txt
@@ -5,6 +5,5 @@ set(SOURCES ExifParse.cpp
set(CMAKE_POSITION_INDEPENDENT_CODE 1)
-add_definitions(-D_LINUX -D_DLL)
-
core_add_library(exif NO_MAIN_DEPENDS)
+target_compile_definitions(exif PRIVATE _LINUX _DLL)