File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/resources/cpp-oatpp-server
samples/server/petstore/cpp-oatpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17)
3232{ {#addExternalLibs} }add_dependencies(${ PROJECT_NAME} OATPP)
3333if(WIN32)
3434target_link_libraries(${ PROJECT_NAME} ${ EXTERNAL_INSTALL_LOCATION} /lib/oatpp-1.3.0/oatpp.lib)
35+ target_link_libraries(${ PROJECT_NAME} ws2_32)
3536else()
3637target_link_libraries(${ PROJECT_NAME} ${ EXTERNAL_INSTALL_LOCATION} /lib/oatpp-1.3.0/liboatpp.a)
37- target_link_libraries(${ PROJECT_NAME} ws2_32)
3838endif(WIN32){ {/addExternalLibs} }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17)
3030add_dependencies (${PROJECT_NAME} OATPP )
3131if (WIN32 )
3232target_link_libraries (${PROJECT_NAME} ${EXTERNAL_INSTALL_LOCATION} /lib/oatpp-1.3.0/oatpp.lib )
33+ target_link_libraries (${PROJECT_NAME} ws2_32 )
3334else ()
3435target_link_libraries (${PROJECT_NAME} ${EXTERNAL_INSTALL_LOCATION} /lib/oatpp-1.3.0/liboatpp.a )
35- target_link_libraries (${PROJECT_NAME} ws2_32 )
3636endif (WIN32 )
You can’t perform that action at this time.
0 commit comments