1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Use debug library on Windows only

This commit is contained in:
Jon Beniston 2023-05-26 15:47:52 +01:00
parent 3a79e63a92
commit decdf58f49

View File

@ -519,8 +519,12 @@ target_link_libraries(sdrbase
swagger
)
if (LIBSIGMF_FOUND)
target_link_libraries(sdrbase optimized ${LIBSIGMF_LIBRARIES})
target_link_libraries(sdrbase debug ${LIBSIGMF_LIBRARIES_DEBUG})
if(WIN32)
target_link_libraries(sdrbase optimized ${LIBSIGMF_LIBRARIES})
target_link_libraries(sdrbase debug ${LIBSIGMF_LIBRARIES_DEBUG})
else()
target_link_libraries(sdrbase ${LIBSIGMF_LIBRARIES})
endif()
endif()
if (Qt6_FOUND)
target_link_libraries(sdrbase