mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
build-system/downloader: cli-downloader isn't part of the core
It's part of the main excutable / helper and needs to be linked before all of our support libraries. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
faf4736675
commit
eac59a79d8
3 changed files with 1 additions and 5 deletions
|
@ -392,6 +392,7 @@ elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable")
|
|||
elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DownloaderExecutable")
|
||||
set(DOWNLOADER_APP
|
||||
subsurface-downloader-main.cpp
|
||||
cli-downloader.cpp
|
||||
)
|
||||
source_group("Downloader App" FILES ${DOWNLOADER_APP})
|
||||
add_executable(${SUBSURFACE_TARGET} MACOSX_BUNDLE WIN32 ${SUBSURFACE_PKG} ${DOWNLOADER_APP} ${SUBSURFACE_RESOURCES})
|
||||
|
|
|
@ -20,10 +20,6 @@ if(FTDISUPPORT)
|
|||
set(SERIAL_FTDI serial_ftdi.c)
|
||||
endif()
|
||||
|
||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DownloaderExecutable")
|
||||
set(DOWNLOADER cli-downloader.cpp)
|
||||
endif()
|
||||
|
||||
if(BTSUPPORT)
|
||||
add_definitions(-DBT_SUPPORT)
|
||||
set(BT_SRC_FILES desktop-widgets/btdeviceselectiondialog.cpp)
|
||||
|
@ -256,7 +252,6 @@ set(SUBSURFACE_CORE_LIB_SRCS
|
|||
${SERIAL_FTDI}
|
||||
${PLATFORM_SRC}
|
||||
${BT_CORE_SRC_FILES}
|
||||
${DOWNLOADER}
|
||||
)
|
||||
source_group("Subsurface Core" FILES ${SUBSURFACE_CORE_LIB_SRCS})
|
||||
|
||||
|
|
Loading…
Reference in a new issue