Support older cmake for gsoap

This commit is contained in:
Isaac Connor
2023-02-07 13:19:58 -05:00
parent 0589ec29c4
commit 237f8f40f5

View File

@@ -548,7 +548,7 @@ endif()
find_package(GSOAP 2.0.0)
if (GSOAP_FOUND)
set(optlibsfound "${optlibsfound} gsoap")
add_compile_definitions(WITH_GSOAP)
add_definitions(-DWITH_GSOAP)
else()
set(optlibsnotfound "${optlibsnotfound} gsoap")
endif()