We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f50e3ed commit 5ae6339Copy full SHA for 5ae6339
hic/CMakeLists.txt
@@ -74,6 +74,13 @@ ecbuild_add_resources(
74
LICENSE
75
)
76
77
+if (ECBUILD_2_COMPAT)
78
+ # Manually add hic and hicsparse to the list hic_ALL_LIBS to get exported.
79
+ # Only when ECBUILD_2_COMPAT=ON, INTERFACE libraries like hic,hicsparse
80
+ # are not added to the list of libraries to be exported within ecbuild_add_library.
81
+ set( hic_ALL_LIBS hic hicsparse )
82
+endif()
83
+
84
ecbuild_install_project( NAME hic )
85
ecbuild_print_summary()
86
0 commit comments