mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Bill's fix to the hamlib CMake file.
This commit is contained in:
parent
c143c2c279
commit
4a2378c163
@ -24,7 +24,7 @@ libfind_process (Hamlib)
|
||||
|
||||
if (NOT Hamlib_PKGCONF_FOUND)
|
||||
if (WIN32)
|
||||
set (Hamlib_LIBRARIES ${Hamlib_LIBRARIES};ws2_32)
|
||||
set (Hamlib_LIBRARIES ${Hamlib_LIBRARIES};${Usb_LIBRRARY};ws2_32)
|
||||
else ()
|
||||
set (Hamlib_LIBRARIES ${Hamlib_LIBRARIES};m;dl)
|
||||
endif ()
|
||||
@ -36,7 +36,7 @@ endif ()
|
||||
# it wrong for frameworks
|
||||
unset (_next_is_framework)
|
||||
unset (_Hamlib_EXTRA_LIBS)
|
||||
foreach (_lib IN LISTS Hamlib_PKGCONF_LDFLAGS)
|
||||
foreach (_lib IN LISTS Hamlib_LIBRARIES Hamlib_PKGCONF_LDFLAGS)
|
||||
if (_next_is_framework)
|
||||
list (APPEND _Hamlib_EXTRA_LIBS "-framework ${_lib}")
|
||||
unset (_next_is_framework)
|
||||
|
Loading…
Reference in New Issue
Block a user