diff --git a/CMakeLists.txt b/CMakeLists.txt index 11c1329aa76c2e419ecfd94e12ea5d8db84c52a3..79b9c0522bd13ca55272fb3a872abf2ef72b876a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,8 +47,12 @@ endif() find_package(Boost COMPONENTS program_options date_time system filesystem regex signals REQUIRED) message( STATUS "Found Boost: ${Boost_LIBRARIES}, ${Boost_INCLUDE_DIR}") +if (NOT WIN32) set(Protobuf_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") find_package(Protobuf REQUIRED) +else() +set(PROTOBUF_FOUND TRUE) +endif() set(Communi_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") find_package(Communi)