File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 48
48
git clone https://github.com/microsoft/vcpkg
49
49
./vcpkg/bootstrap-vcpkg.bat
50
50
- name : Install dependencies
51
- run : ${{ github.workspace }}/vcpkg/vcpkg.exe install --x-install-root ${{ github.workspace }}/vcpkg/installed/
51
+ run : ${{ github.workspace }}/vcpkg/vcpkg.exe install nanomsg --x-install-root ${{ github.workspace }}/vcpkg/installed/
52
52
working-directory : windows
53
53
- uses : actions-rs/toolchain@v1
54
54
with :
99
99
git clone https://github.com/microsoft/vcpkg
100
100
./vcpkg/bootstrap-vcpkg.bat
101
101
- name : Install dependencies
102
- run : ${{ github.workspace }}/vcpkg/vcpkg.exe install --x-install-root ${{ github.workspace }}/vcpkg/installed/
102
+ run : ${{ github.workspace }}/vcpkg/vcpkg.exe install nanomsg --x-install-root ${{ github.workspace }}/vcpkg/installed/
103
103
working-directory : windows
104
104
- uses : actions-rs/toolchain@v1
105
105
with :
Original file line number Diff line number Diff line change @@ -244,12 +244,14 @@ endif
244
244
245
245
ccextractor_CFLAGS = -std=gnu99 -Wno-write-strings -Wno-pointer-sign -D_FILE_OFFSET_BITS=64 -DVERSION_FILE_PRESENT -DFT2_BUILD_LIBRARY -DGPAC_DISABLE_VTT -DGPAC_DISABLE_OD_DUMP -DGPAC_DISABLE_REMOTERY -DNO_GZIP
246
246
247
- ccextractor_LDFLAGS = $(shell pkg-config --libs gpac)
247
+ ccextractor_LDFLAGS = $(shell pkg-config --libs gpac nanomsg )
248
248
GPAC_CPPFLAGS = $(shell pkg-config --cflags gpac)
249
+ NANOMSG_CPPFLAGS = $(shell pkg-config --cflags nanomsg)
249
250
250
251
ccextractor_CPPFLAGS =-I../src/lib_ccx/ -I../src/thirdparty/libpng/ -I../src/thirdparty/zlib/ -I../src/lib_ccx/zvbi/ -I../src/thirdparty/lib_hash/ -I../src/thirdparty/protobuf-c/ -I../src/thirdparty -I../src/ -I../src/thirdparty/freetype/include/
251
252
ccextractor_CPPFLAGS += $(GPAC_CPPFLAGS )
252
253
ccextractor_CPPFLAGS += $(FFMPEG_CPPFLAGS )
254
+ ccextractor_CPPFLAGS += $(NANOMSG_CPPFLAGS )
253
255
254
256
ccextractor_LDADD =-lm -lpthread -ldl
255
257
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ FetchContent_Declare(
7
7
)
8
8
FetchContent_MakeAvailable (Corrosion )
9
9
10
+ find_package (PkgConfig )
11
+ pkg_check_modules (NANOMSG REQUIRED nanomsg )
12
+
13
+ set (EXTRA_INCLUDES ${EXTRA_INCLUDES} ${NANOMSG_INCLUDE_DIRS} )
14
+ set (EXTRA_LIBS ${EXTRA_LIBS} ${NANOMSG_LIBRARIES} )
15
+
10
16
if (CMAKE_BUILD_TYPE STREQUAL "Debug" )
11
17
set (PROFILE "debug" )
12
18
else ()
You can’t perform that action at this time.
0 commit comments