mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-21 04:58:38 -05:00
Use header only Boost linking for ADS-B plugin
This commit is contained in:
parent
2579417e4d
commit
e76015f28f
@ -1,7 +1,3 @@
|
|||||||
if(WIN32)
|
|
||||||
link_directories(${BOOST_LIBRARYDIR})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
project(adsb)
|
project(adsb)
|
||||||
|
|
||||||
set(adsb_SOURCES
|
set(adsb_SOURCES
|
||||||
@ -75,7 +71,12 @@ add_library(${TARGET_NAME} SHARED
|
|||||||
${adsb_SOURCES}
|
${adsb_SOURCES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT WIN32)
|
||||||
|
link_directories(${Boost_LIBRARY_DIRS})
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${TARGET_NAME}
|
target_link_libraries(${TARGET_NAME}
|
||||||
|
Boost::disable_autolinking
|
||||||
Qt5::Core
|
Qt5::Core
|
||||||
${TARGET_LIB}
|
${TARGET_LIB}
|
||||||
sdrbase
|
sdrbase
|
||||||
|
Loading…
Reference in New Issue
Block a user