Skip to content
Snippets Groups Projects
Commit 6b82dbd8 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

define HAVE_SNPRINTF for windows, fix #309

parent ee019518
No related branches found
No related tags found
No related merge requests found
Pipeline #21265 passed with warnings
...@@ -233,6 +233,7 @@ if(NOT WIN32) ...@@ -233,6 +233,7 @@ if(NOT WIN32)
else() else()
target_compile_options(${PROJECT_NAME} target_compile_options(${PROJECT_NAME}
PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj>) PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj>)
target_compile_definitions(${PROJECT_NAME} PUBLIC "HAVE_SNPRINTF")
endif() endif()
target_link_boost_python(${PROJECT_NAME} PUBLIC) target_link_boost_python(${PROJECT_NAME} PUBLIC)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment