Added some definitions to the compilation.

This commit is contained in:
Florent Denef 2021-01-07 21:29:47 +01:00
parent d2de39e108
commit 7ea618bcbf
No known key found for this signature in database
GPG Key ID: 873C3ACCF970C74E

View File

@ -41,7 +41,7 @@ set(FILES
add_executable(GeminiServer ${FILES})
target_precompile_headers(GeminiServer PRIVATE ${HEADERS})
target_compile_definitions(GeminiServer PRIVATE _GLIBCXX_DEBUG)
target_compile_definitions(GeminiServer PRIVATE _GLIBCXX_DEBUG BOOST_ASIO_NO_DEPRECATED BOOST_ASIO_NO_TS_EXECUTORS)
target_compile_options(GeminiServer PRIVATE ${COMPILE_FLAGS})
target_link_options(GeminiServer ${LINKER_OPTIONS})
target_link_libraries(GeminiServer ${Boost_LIBRARIES} ${LINKER_FLAGS} OpenSSL::SSL)