Commit de5cef91 authored by Johnny Jazeix's avatar Johnny Jazeix

fix Windows compilation with protobuf

parent 1125e5e2
......@@ -17,6 +17,10 @@ if (Protobuf_FOUND)
)
set(EXTRA_LIBS ${Protobuf_LIBRARIES} ${ZLIB_LIBRARIES})
add_definitions(-DHAVE_PROTOBUF)
if(MSVC)
add_definitions(-DPROTOBUF_USE_DLLS)
endif()
endif()
set( osm_writers_SRCS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment