Skip to content

Commit

Permalink
build: exceptions are not an explicit default
Browse files Browse the repository at this point in the history
fix #868
  • Loading branch information
alandefreitas committed Oct 14, 2024
1 parent b6688d9 commit 83e7b8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ function(boost_url_setup_properties target)
target_link_libraries(${target} PUBLIC ${BOOST_URL_DEPENDENCIES})
target_compile_definitions(${target} PUBLIC $<IF:$<BOOL:${BUILD_SHARED_LIBS}>,BOOST_URL_DYN_LINK=1,BOOST_URL_STATIC_LINK=1>)
target_compile_definitions(${target} PRIVATE BOOST_URL_SOURCE)
target_compile_options(${target} PUBLIC $<$<CXX_COMPILER_ID:MSVC>:/EHsc>)
# issue #868
# target_compile_options(${target} PUBLIC $<$<CXX_COMPILER_ID:MSVC>:/EHsc>)
endfunction()

if (BOOST_URL_MRDOCS_BUILD)
Expand Down

0 comments on commit 83e7b8c

Please sign in to comment.