python312Packages.mandown: 1.10.0 -> 1.10.1 (#370595)
[NixPkgs.git] / pkgs / development / libraries / arrayfire / no-assets.patch
blobb8820f8aa55bd9f6dd6a242a08d8b0be0e153369
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 12d6e557c..cc004555d 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -321,11 +321,6 @@ if(NOT TARGET nonstd::span-lite)
7 endif()
9 -af_dep_check_and_populate(${assets_prefix}
10 - URI https://github.com/arrayfire/assets.git
11 - REF master
13 -set(ASSETS_DIR ${${assets_prefix}_SOURCE_DIR})
15 # when crosscompiling use the bin2cpp file from the native bin directory
16 if(CMAKE_CROSSCOMPILING)
17 @@ -473,18 +468,6 @@ install(FILES ${ArrayFire_BINARY_DIR}/include/af/version.h
18 DESTINATION "${AF_INSTALL_INC_DIR}/af/"
19 COMPONENT headers)
21 -# install the examples irrespective of the AF_BUILD_EXAMPLES value
22 -# only the examples source files are installed, so the installation of these
23 -# source files does not depend on AF_BUILD_EXAMPLES
24 -# when AF_BUILD_EXAMPLES is OFF, the examples source is installed without
25 -# building the example executables
26 -install(DIRECTORY examples/ #NOTE The slash at the end is important
27 - DESTINATION ${AF_INSTALL_EXAMPLE_DIR}
28 - COMPONENT examples)
30 -install(DIRECTORY ${ASSETS_DIR}/examples/ #NOTE The slash at the end is important
31 - DESTINATION ${AF_INSTALL_EXAMPLE_DIR}
32 - COMPONENT examples)
34 install(DIRECTORY "${ArrayFire_SOURCE_DIR}/LICENSES/"
35 DESTINATION LICENSES