summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2014-12-08 03:07:13 -0500
committerGilles Caulier <[email protected]>2014-12-08 03:07:13 -0500
commit69e8912758e1755974f3c41d983457c1c65e029b (patch)
tree347fce29aa77d481f17355b3d03ad6ce4f03ac3d
parentaf39194ec144b91ddd4b7049fc1f5b00d3d9ec4a (diff)
move rule to install data in dedicated cmake script
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/CMakeLists.txt3
2 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ca52d03..4d6b677 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -114,6 +114,7 @@ ecm_setup_version(${LIBKEXIV2_LIB_VERSION}
add_definitions(-DTRANSLATION_DOMAIN=\"libkexiv2\")
+add_subdirectory(data)
add_subdirectory(src)
if (BUILD_TESTING)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c723842..fe1b537 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -84,9 +84,6 @@ set_target_properties(KF5KExiv2 PROPERTIES
EXPORT_NAME KExiv2
)
-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../data/topicset.iptc-subjectcode.xml
- DESTINATION ${DATA_INSTALL_DIR}/libkexiv2/data)
-
# Check if compilation is done through digiKam SC or not. If yes, do not install header files.
if (NOT DIGIKAMSC_COMPILE_LIBKEXIV2)