diff --git a/CMakeLists.txt b/CMakeLists.txt index 2403bb36f..74c4fc94f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,7 @@ cmake_minimum_required(VERSION 3.10.0) set(CMAKE_CXX_STANDARD 17) project(up-cpp LANGUAGES CXX) +if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") if (EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() @@ -89,3 +90,6 @@ endif() INSTALL(TARGETS up-cpp) INSTALL(DIRECTORY include DESTINATION .) INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/up-core-api DESTINATION include) +else() +message("Not supported") +endif()