We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c54a4ee commit 637ed33Copy full SHA for 637ed33
contrib/CMakeLists.txt
@@ -132,3 +132,11 @@ foreach(file ${USEFUL})
132
endforeach()
133
134
add_subdirectory(CI)
135
+
136
+# See if lustre-devel is installed by checking if the lustreapi.h header is in a standard include path.
137
+find_path(LUSTRE_PLUGIN "lustre/lustreapi.h")
138
+# If so, build the lustre example plugin:
139
+if (LUSTRE_PLUGIN)
140
+ add_library(lustre_plugin SHARED lustre_plugin.c)
141
+ target_link_libraries(lustre_plugin lustreapi)
142
+endif()
0 commit comments