@fails-components/webtransport 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +12 -0
- package/package.json +1 -1
package/CMakeLists.txt
CHANGED
|
@@ -913,6 +913,10 @@ ELSE(WIN32)
|
|
|
913
913
|
target_sources(gquiche PRIVATE third_party/quiche/quiche/quic/core/io/socket_posix.cc
|
|
914
914
|
third_party/quiche/quiche/quic/core/quic_udp_socket_posix.cc
|
|
915
915
|
)
|
|
916
|
+
IF(APPLE)
|
|
917
|
+
ELSE(APPLE)
|
|
918
|
+
target_link_libraries(gquiche -static-libgcc -static-libstdc++)
|
|
919
|
+
ENDIF(APPLE)
|
|
916
920
|
ENDIF(WIN32)
|
|
917
921
|
|
|
918
922
|
target_compile_options(gquiche PRIVATE -flax-vector-conversions)
|
|
@@ -1027,6 +1031,14 @@ PUBLIC third_party/boringssl/src/include
|
|
|
1027
1031
|
PUBLIC ${CMAKE_JS_INC})
|
|
1028
1032
|
target_link_libraries(${PROJECT_NAME} gquiche ssl zlibstatic crypto ${CMAKE_JS_LIB} )
|
|
1029
1033
|
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
|
|
1034
|
+
IF (WIN32)
|
|
1035
|
+
# place for custum window stuff
|
|
1036
|
+
ELSE(WIN32)
|
|
1037
|
+
IF(APPLE)
|
|
1038
|
+
ELSE(APPLE)
|
|
1039
|
+
target_link_libraries(${PROJECT_NAME} -static-libgcc -static-libstdc++)
|
|
1040
|
+
ENDIF(APPLE)
|
|
1041
|
+
ENDIF(WIN32)
|
|
1030
1042
|
|
|
1031
1043
|
execute_process(COMMAND node -p "require('node-addon-api').include"
|
|
1032
1044
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
package/package.json
CHANGED