Skip to content

Commit 7ec17cc

Browse files
committed
fable: Fix Conan not finding library in editable mode
1 parent df14c51 commit 7ec17cc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fable/conanfile.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,7 @@ def package_info(self):
7979
self.cpp_info.set_property("cmake_file_name", "fable")
8080
self.cpp_info.set_property("cmake_target_name", "fable::fable")
8181
self.cpp_info.set_property("pkg_config_name", "fable")
82-
# TODO: Does this also work in editable mode?
83-
self.cpp_info.libs = files.collect_libs(self)
82+
if not self.in_local_cache:
83+
self.cpp_info.libs = ["fable"]
84+
else:
85+
self.cpp_info.libs = files.collect_libs(self)

0 commit comments

Comments
 (0)