mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-28 23:28:49 -05:00
Fixing macOS linking of map65
This commit is contained in:
parent
6dac83abe2
commit
a721be37ff
@ -37,11 +37,13 @@ dump_cmake_variables ("portaudio")
|
|||||||
if (portaudio_FOUND AND NOT TARGET portaudio::portaudio)
|
if (portaudio_FOUND AND NOT TARGET portaudio::portaudio)
|
||||||
add_library (portaudio::portaudio UNKNOWN IMPORTED)
|
add_library (portaudio::portaudio UNKNOWN IMPORTED)
|
||||||
set_target_properties (portaudio::portaudio PROPERTIES
|
set_target_properties (portaudio::portaudio PROPERTIES
|
||||||
IMPORTED_LOCATION ${portaudio_LIBRARY}
|
IMPORTED_LOCATION "${portaudio_LIBRARY}"
|
||||||
INTERFACE_COMPILE_OPTIONS ${portaudio_PKGCONF_CFLAGS_OTHER}
|
INTERFACE_COMPILE_OPTIONS "${portaudio_PKGCONF_CFLAGS_OTHER}"
|
||||||
INTERFACE_INCLUDE_DIRECTORIES ${portaudio_INCLUDE_DIRS}
|
INTERFACE_INCLUDE_DIRECTORIES "${portaudio_INCLUDE_DIRS}"
|
||||||
|
INTERFACE_LINK_OPTIONS "${portaudio_PKGCONF_LDFLAGS_OTHER}"
|
||||||
|
INTERFACE_LINK_DIRECTORIES "${portaudio_PKGCONF_LIBDIR}"
|
||||||
|
INTERFACE_LINK_LIBRARIES "${portaudio_PKGCONF_LIBRARIES}"
|
||||||
)
|
)
|
||||||
target_link_libraries (portaudio::portaudio INTERFACE ${portaudio_PKGCONF_LDFLAGS})
|
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
mark_as_advanced (
|
mark_as_advanced (
|
||||||
|
Loading…
Reference in New Issue
Block a user