mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-06-25 05:25:27 -04:00
Use debug library on Windows only
This commit is contained in:
parent
decdf58f49
commit
3926993dca
@ -62,8 +62,12 @@ target_link_libraries(${TARGET_NAME}
|
|||||||
${TARGET_LIB_GUI}
|
${TARGET_LIB_GUI}
|
||||||
swagger
|
swagger
|
||||||
)
|
)
|
||||||
target_link_libraries(${TARGET_NAME} optimized ${LIBSIGMF_LIBRARIES})
|
if(WIN32)
|
||||||
target_link_libraries(${TARGET_NAME} debug ${LIBSIGMF_LIBRARIES_DEBUG})
|
target_link_libraries(sdrbase optimized ${LIBSIGMF_LIBRARIES})
|
||||||
|
target_link_libraries(sdrbase debug ${LIBSIGMF_LIBRARIES_DEBUG})
|
||||||
|
else()
|
||||||
|
target_link_libraries(sdrbase ${LIBSIGMF_LIBRARIES})
|
||||||
|
endif()
|
||||||
|
|
||||||
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
|
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user