Skip to content
Snippets Groups Projects
Commit 7acde0c7 authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Set default name for cmake_file_name

parent 4bc77c0c
Branches
Tags
No related merge requests found
......@@ -4,6 +4,7 @@
/target/
CMakeFiles
build
CMakeUserPresets.json
samples/memory/sharedptr/target
samples/semaphore/target
......
......@@ -56,7 +56,6 @@ class yatRecipe(ConanFile):
def package_info(self):
self.cpp_info.libs = ["yat"]
self.cpp_info.set_property("cmake_file_name", "YAT")
if self.settings.os == "Linux":
self.cpp_info.system_libs = [ "pthread", "dl"]
......
cmake_minimum_required(VERSION 3.15)
project(PackageTest CXX)
find_package(YAT CONFIG REQUIRED)
find_package(yat CONFIG REQUIRED)
add_executable(test_package src/test_package.cpp)
target_link_libraries(test_package ${YAT_LIBRARIES})
target_link_libraries(test_package ${yat_LIBRARIES})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment