]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change source with config static lib
authorBastian Dehn <hhaalo@arcor.de>
Sun, 9 Nov 2025 11:35:40 +0000 (12:35 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 9 Nov 2025 11:35:43 +0000 (12:35 +0100)
src/CMakeLists.txt

index 7115aafe284084e07509cdee8ac60c46763c5e2e..a27efed6fec708c1d8fe81db321c3fcd3ec3def6 100644 (file)
@@ -88,7 +88,9 @@ else()
        list(APPEND SOURCES kds_s2000w_image_converter_netpbm.c)
 endif()
 
-add_library(sane-kds_s2000w_net SHARED ${SOURCES})
+add_library(sane-kds_s2000w_net
+       SHARED
+       ${SOURCES})
 set_target_properties(sane-kds_s2000w_net PROPERTIES VERSION 1)
 target_include_directories(sane-kds_s2000w_net
        PRIVATE
@@ -115,8 +117,7 @@ endif()
 
 add_library(sane-kds_s2000w_net-static
        STATIC
-       ${SOURCES}
-       ${CMAKE_CURRENT_BINARY_DIR}/config.h)
+       ${SOURCES})
 set_target_properties(sane-kds_s2000w_net-static PROPERTIES OUTPUT_NAME sane-kds_s2000w_net)
 target_include_directories(sane-kds_s2000w_net-static
        PRIVATE