Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
MelamudMichael authored Feb 7, 2024
1 parent d408d40 commit 058d1c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()

0 comments on commit 058d1c3

Please sign in to comment.