From: Bastian Dehn Date: Sun, 10 Mar 2024 06:04:25 +0000 (+0100) Subject: always install config X-Git-Tag: v1.0.0^2~125 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=9264d0581b99450119b9596f95dd2a20ad04d83d;p=sane-kds-s2000w-net.git always install config --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 25b1057..3027429 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -51,10 +51,8 @@ target_link_libraries("sane-kds_s2000w_net" install(TARGETS "sane-kds_s2000w_net" DESTINATION ${CMAKE_LIBRARY_PATH}/sane) -if (NOT EXISTS ${CONFIG_FILE}) - install(FILES "kds_s2000w_net.conf" - DESTINATION ${CONFIG_INSTALL_PATH}) -endif() +install(FILES "kds_s2000w_net.conf" + DESTINATION ${CONFIG_INSTALL_PATH}) set(CPACK_GENERATOR "DEB") set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})