]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
always install config
authorBastian Dehn <hhaalo@arcor.de>
Sun, 10 Mar 2024 06:04:25 +0000 (07:04 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 10 Mar 2024 06:04:25 +0000 (07:04 +0100)
src/CMakeLists.txt

index 25b10571fc73096a976ac152ad6f8be15907214b..302742961096c5f054b9cb2bd4423d42bfd9bcb5 100644 (file)
@@ -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})