Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set /Z7 flag when compiling with MSVC #810

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions librabbitmq/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@ if(BUILD_STATIC_LIBS)
set_target_properties(rabbitmq-static PROPERTIES OUTPUT_NAME rabbitmq)
endif()

if(MSVC)
# Embed debugging info in the library itself instead of generating a .pdb file.
set_target_properties(rabbitmq-static PROPERTIES COMPILE_OPTIONS "/Z7")
endif()

if(INSTALL_STATIC_LIBS)
install(TARGETS rabbitmq-static EXPORT "${targets_export_name}"
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
Expand Down
Loading