We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f246f6 commit 921d788Copy full SHA for 921d788
1 file changed
CMakeLists.txt
@@ -224,7 +224,9 @@ set(TARGET_LOADER_NAME ze_loader)
224
225
# Canonical Ubuntu/Debian package names (libze1 / libze-dev)
226
# produced alongside the existing level-zero / level-zero-devel packages.
227
-if(NOT BUILD_INSTALLER)
+# Restricted to Debian/Ubuntu systems only; RPM-based distros (SLES, RHEL, …)
228
+# must not produce libze1/libze-dev packages.
229
+if(NOT BUILD_INSTALLER AND EXISTS "/etc/debian_version")
230
set(CANONICAL_LIB_COMPONENT "libze1")
231
set(CANONICAL_SDK_COMPONENT "libze-dev")
232
endif()
0 commit comments