Skip to content

Commit

Permalink
no cargs for zedmd-test
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Feb 2, 2025
1 parent 3fc929b commit 695971f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,20 +249,20 @@ if(BUILD_STATIC)
)

if(ARCH STREQUAL "x64")
target_link_libraries(zedmd-test-portable PUBLIC zedmd_static cargs64 libserialport64 sockpp64 ws2_32)
target_link_libraries(zedmd-test-portable PUBLIC zedmd_static libserialport64 sockpp64 ws2_32)
else()
target_link_libraries(zedmd-test-portable PUBLIC zedmd_static cargs libserialport sockpp ws2_32)
target_link_libraries(zedmd-test-portable PUBLIC zedmd_static libserialport sockpp ws2_32)
endif()
elseif(PLATFORM STREQUAL "macos")
target_link_directories(zedmd-test-portable PUBLIC
third-party/runtime-libs/${PLATFORM}/${ARCH}
)
target_link_libraries(zedmd-test-portable PUBLIC zedmd_static cargs serialport sockpp)
target_link_libraries(zedmd-test-portable PUBLIC zedmd_static serialport sockpp)
elseif(PLATFORM STREQUAL "linux")
target_link_directories(zedmd-test-portable PUBLIC
third-party/runtime-libs/${PLATFORM}/${ARCH}
)
target_link_libraries(zedmd-test-portable PUBLIC zedmd_static cargs serialport sockpp)
target_link_libraries(zedmd-test-portable PUBLIC zedmd_static serialport sockpp)
endif()

if(POST_BUILD_COPY_EXT_LIBS)
Expand Down

0 comments on commit 695971f

Please sign in to comment.