Skip to content
Snippets Groups Projects
Commit 8cde3274 authored by POTIER Frederic's avatar POTIER Frederic
Browse files

Fix recipe

parent 24e39af2
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
project(${PROJECT_NAME} CXX)
find_package(yat4tango CONFIG REQUIRED)
find_package(None CONFIG REQUIRED)
find_package(curl CONFIG REQUIRED)
if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
find_package(crashreporting2 CONFIG)
endif()
......@@ -21,7 +21,7 @@ set(includedirs
add_executable(${EXECUTABLE_NAME} ${sources})
target_include_directories(${EXECUTABLE_NAME} PRIVATE ${includedirs})
target_link_libraries(${EXECUTABLE_NAME} PRIVATE yat4tango::yat4tango)
target_link_libraries(${EXECUTABLE_NAME} PRIVATE None::None)
target_link_libraries(${EXECUTABLE_NAME} PRIVATE curl::curl)
if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
target_link_libraries(${EXECUTABLE_NAME} PRIVATE crashreporting2::crashreporting2)
endif()
......
......@@ -21,8 +21,7 @@ class XPSV2Recipe(ConanFile):
def requirements(self):
self.requires("yat4tango/[>=1.0]@soleil/stable")
self.requires("None")
self.requires("curl/7.37.0@soleil/stable")
if self.settings.os == "Linux":
self.requires("crashreporting2/[>=1.0]@soleil/stable")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment