aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/opencl/001-remove-extra-install-rules.patch
blob: 4b212f9735d10ccf1fac4444d57a140c86372be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index dfb336d..ef97f82 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -114,13 +114,6 @@ foreach(UTIL_LIB_NAME IN ITEMS Utils UtilsCpp)
     DESTINATION ${config_package_location}
     COMPONENT binary
   )
-
-  # For packaging the utils libraries
-  install(
-    TARGETS ${UTIL_LIB_TARGET}
-    DESTINATION ${CMAKE_INSTALL_LIBDIR}
-    COMPONENT binary
-  )
 endforeach()
 
 if(OPENCL_SDK_BUILD_SAMPLES)
diff --git a/lib/src/Extensions/CMakeLists.txt b/lib/src/Extensions/CMakeLists.txt
index e05d4e7..017f7ad 100644
--- a/lib/src/Extensions/CMakeLists.txt
+++ b/lib/src/Extensions/CMakeLists.txt
@@ -151,13 +151,6 @@ if (OPENCL_EXTENSION_LOADER_INSTALL)
         DESTINATION ${OPENCL_EXTENSION_LOADER_CONFIG_PATH}
         COMPONENT binary
     )
-
-    # For packaging the extensions library
-    install(
-        TARGETS OpenCLExt
-        DESTINATION ${CMAKE_INSTALL_LIBDIR}
-        COMPONENT binary
-    )
 endif()
 
 if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)