summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2015-09-27 10:51:31 +0200
committerGilles Caulier <[email protected]>2015-09-27 10:51:31 +0200
commit761ae5d0b8363d05ea1edf9b2aa9dc6ab4a3db73 (patch)
treefc652c18d064fadbebe9dbe43196d3af917add4f
parentf6b0cc635b39b7f894891ee3d55031523ce9378b (diff)
remove DK SC rules
-rw-r--r--src/CMakeLists.txt38
1 files changed, 16 insertions, 22 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a0199a6..db7b1a0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -89,32 +89,26 @@ install(TARGETS KF5KFace
EXPORT KF5KFaceTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}
)
-
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/database/dbconfig.xml
DESTINATION ${DATA_INSTALL_DIR}/libkface/database
)
-# Check if compilation is done through digiKam SC or not. If yes, do not install header files.
-if(NOT DIGIKAMSC_COMPILE_LIBKFACE)
-
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libkface_export.h
- DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KFace/kface
- COMPONENT Devel
- )
-
- install(FILES ${kface_CamelCase_HEADERS}
- DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KFace/KFace
- COMPONENT Devel
- )
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libkface_export.h
+ DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KFace/kface
+ COMPONENT Devel
+)
- install(FILES ${kface_HEADERS}
- DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KFace/kface
- COMPONENT Devel
- )
+install(FILES ${kface_CamelCase_HEADERS}
+ DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KFace/KFace
+ COMPONENT Devel
+)
- install(FILES "${CMAKE_BINARY_DIR}/libkface_version.h"
- DESTINATION "${KF5_INCLUDE_INSTALL_DIR}"
- COMPONENT Devel
- )
+install(FILES ${kface_HEADERS}
+ DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KFace/kface
+ COMPONENT Devel
+)
-endif()
+install(FILES "${CMAKE_BINARY_DIR}/libkface_version.h"
+ DESTINATION "${KF5_INCLUDE_INSTALL_DIR}"
+ COMPONENT Devel
+)