summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeemu Rytilahti <[email protected]>2014-11-22 01:42:26 +0100
committerTeemu Rytilahti <[email protected]>2014-11-22 01:42:26 +0100
commitaccd59b49f50ab6dfda978cd28b77c044fd68d13 (patch)
tree392a3f876965d64bbe0cc14642eb6f74acbdb96c
parent20e5a80c724f1b876f1e3ca72b2af52eae6dfe77 (diff)
Canonize Kexiv2 -> KExiv2
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt16
-rw-r--r--tests/CMakeLists.txt14
3 files changed, 16 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 33737d2..7d35fff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,7 +119,7 @@ endif()
############## CMake Config Files ##############
message("${CMAKECONFIG_INSTALL_DIR}")
-set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5Kexiv2")
+set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5KExiv2")
ecm_configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/templates/KF5KExiv2Config.cmake.in"
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ae7baf5..d7a03e8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -52,10 +52,10 @@ ecm_generate_headers(kexiv2_CamelCase_HEADERS
REQUIRED_HEADERS kexiv2_HEADERS
)
-add_library(KF5Kexiv2 SHARED ${kexiv2_LIB_SRCS})
-add_library(KF5::Kexiv2 ALIAS KF5Kexiv2)
+add_library(KF5KExiv2 SHARED ${kexiv2_LIB_SRCS})
+add_library(KF5::KExiv2 ALIAS KF5KExiv2)
-generate_export_header(KF5Kexiv2 BASE_NAME libkexiv2 EXPORT_MACRO_NAME LIBKEXIV2_EXPORT)
+generate_export_header(KF5KExiv2 BASE_NAME libkexiv2 EXPORT_MACRO_NAME LIBKEXIV2_EXPORT)
# Check if compilation is done through digiKam SC or not. If yes, do not install header files.
if (NOT DIGIKAMSC_COMPILE_LIBKEXIV2)
@@ -82,11 +82,11 @@ if (NOT DIGIKAMSC_COMPILE_LIBKEXIV2)
endif()
-target_include_directories(KF5Kexiv2 INTERFACE
+target_include_directories(KF5KExiv2 INTERFACE
"$<INSTALL_INTERFACE:${KF5_INCLUDE_INSTALL_DIR}/KEXIV2;${KF5_INCLUDE_INSTALL_DIR}/KEXIV2/kexiv2>"
)
-target_link_libraries(KF5Kexiv2
+target_link_libraries(KF5KExiv2
PRIVATE
${EXIV2_LIBRARIES}
PUBLIC
@@ -98,14 +98,14 @@ if( WIN32 )
target_link_libraries( kexiv2 ${EXPAT_LIBRARIES} )
endif()
-install(TARGETS KF5Kexiv2
+install(TARGETS KF5KExiv2
EXPORT KF5KExiv2Targets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}
)
-set_target_properties(KF5Kexiv2 PROPERTIES
+set_target_properties(KF5KExiv2 PROPERTIES
VERSION ${KEXIV2_VERSION_STRING}
SOVERSION ${KEXIV2_SOVERSION}
- EXPORT_NAME Kexiv2
+ EXPORT_NAME KExiv2
)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../data/topicset.iptc-subjectcode.xml
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d0e3304..30b5184 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -8,28 +8,28 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../src)
set(setiptcpreview_SRCS setiptcpreview.cpp)
add_executable(setiptcpreview ${setiptcpreview_SRCS})
-target_link_libraries(setiptcpreview KF5Kexiv2)
+target_link_libraries(setiptcpreview KF5KExiv2)
set(loadfromba_SRCS loadfromba.cpp)
add_executable(loadfromba ${loadfromba_SRCS})
-target_link_libraries(loadfromba KF5Kexiv2)
+target_link_libraries(loadfromba KF5KExiv2)
set(erasetag_SRCS erasetag.cpp)
add_executable(erasetag ${erasetag_SRCS})
-target_link_libraries(erasetag KF5Kexiv2)
+target_link_libraries(erasetag KF5KExiv2)
set(printtagslist_SRCS printtagslist.cpp)
add_executable(printtagslist ${printtagslist_SRCS})
-target_link_libraries(printtagslist KF5Kexiv2)
+target_link_libraries(printtagslist KF5KExiv2)
set(usexmpsidecar_SRCS usexmpsidecar.cpp)
add_executable(usexmpsidecar ${usexmpsidecar_SRCS})
-target_link_libraries(usexmpsidecar KF5Kexiv2)
+target_link_libraries(usexmpsidecar KF5KExiv2)
set(readimagewritexmpsidecar_SRCS readimagewritexmpsidecar.cpp)
add_executable(readimagewritexmpsidecar ${readimagewritexmpsidecar_SRCS})
-target_link_libraries(readimagewritexmpsidecar KF5Kexiv2)
+target_link_libraries(readimagewritexmpsidecar KF5KExiv2)
set(setxmpface_SRCS setxmpface.cpp)
add_executable(setxmpface ${setxmpface_SRCS})
-target_link_libraries(setxmpface KF5Kexiv2)
+target_link_libraries(setxmpface KF5KExiv2)