File tree Expand file tree Collapse file tree
.github/actions/build-library-and-upload Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 - id : build
1717 run : |
1818 rm -rf out
19- triplet=$(grep -E '^VCPKG_TARGET_TRIPLET:STRING=' build/${{ inputs.preset }}/CMakeCache.txt | cut -d= -f2)
20- cmake --preset ${{ inputs.preset }} -DBUILD_SHARED_LIBS=ON \
21- -DCMAKE_CXX_FLAGS="-I${PWD}/build/${{ inputs.preset }}/vcpkg_installed/${triplet}/include"
19+ cmake --preset ${{ inputs.preset }} -DBUILD_SHARED_LIBS=ON
2220 cmake --build ./build/${{ inputs.preset }} --config ${{ inputs.build-type }} --verbose
2321 cmake --install ./build/${{ inputs.preset }} --config ${{ inputs.build-type }}
2422 working-directory : ${{ inputs.nakama-cpp-path }}
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ target_compile_definitions(nakama-sdk-client-factory PRIVATE
99 $<$<BOOL :${WITH_HTTP_LIBHTTPC} >:WITH_HTTP_LIBHTTPC >
1010 $<$<BOOL :${WITH_HTTP_CPPREST} >:WITH_HTTP_CPPREST >
1111)
12+ if (WITH_WS_WSLAY)
13+ find_package (wslay CONFIG REQUIRED )
14+ target_link_libraries (nakama-sdk-rtclient-factory PRIVATE wslay::wslay )
15+ endif ()
1216
1317add_library (nakama-sdk-rtclient-factory OBJECT NWebsocketsFactory.cpp )
1418add_library (nakama::sdk-rtclient-factory ALIAS nakama-sdk-rtclient-factory )
You can’t perform that action at this time.
0 commit comments