Skip to content

Commit

Permalink
Removed min/max macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Vakula committed May 1, 2023
1 parent 7db3db5 commit ff4abfc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ set(NAMESPACE "${PROJECT_NAME}::")
set(TARGET_EXPORT_NAME ${PROJECT_NAME}Targets)

add_library(${TARGET_NAME} ${CPPKAFKA_LIBRARY_TYPE} ${SOURCES})
IF(MSVC)
target_compile_definitions(${TARGET_NAME} PUBLIC NOMINMAX)
ENDIF()
target_compile_features(${TARGET_NAME} PUBLIC cxx_std_11)
target_include_directories(${TARGET_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include/cppkafka>)
set_target_properties(${TARGET_NAME} PROPERTIES
Expand Down

0 comments on commit ff4abfc

Please sign in to comment.