Skip to content

Commit f578229

Browse files
committed
win32: Fix scattered sources causing link errors
Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
1 parent a5c8f6b commit f578229

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
include_directories (${CMAKE_CURRENT_SOURCE_DIR})
66

77
include_directories(${LIBUSB_1_INCLUDE_DIRS})
8-
LIST(APPEND SRC core.c tilt.c cameras.c flags.c usb_libusb10.c registration.c)
8+
LIST(APPEND SRC core.c tilt.c cameras.c flags.c usb_libusb10.c registration.c audio.c loader.c)
99
IF(WIN32)
1010
set_source_files_properties(${SRC} PROPERTIES LANGUAGE CXX)
1111
ENDIF(WIN32)
1212

13-
# Audio
13+
# Audio Firmware
1414
include(FindPythonInterp)
15-
LIST(APPEND SRC audio.c loader.c)
1615
IF(BUILD_REDIST_PACKAGE)
1716
# If this build is intended for a redistributable package, we can't include audios.bin, so we should include fwfetcher.py
1817
# and the package should run "python fwfetcher.py $INSTALL_PREFIX/share" as a postinst hook

0 commit comments

Comments
 (0)