mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 12d6e557c..cc004555d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -321,11 +321,6 @@ if(NOT TARGET nonstd::span-lite)
|
|
|
|
endif()
|
|
|
|
-af_dep_check_and_populate(${assets_prefix}
|
|
- URI https://github.com/arrayfire/assets.git
|
|
- REF master
|
|
-)
|
|
-set(ASSETS_DIR ${${assets_prefix}_SOURCE_DIR})
|
|
|
|
# when crosscompiling use the bin2cpp file from the native bin directory
|
|
if(CMAKE_CROSSCOMPILING)
|
|
@@ -473,18 +468,6 @@ install(FILES ${ArrayFire_BINARY_DIR}/include/af/version.h
|
|
DESTINATION "${AF_INSTALL_INC_DIR}/af/"
|
|
COMPONENT headers)
|
|
|
|
-# install the examples irrespective of the AF_BUILD_EXAMPLES value
|
|
-# only the examples source files are installed, so the installation of these
|
|
-# source files does not depend on AF_BUILD_EXAMPLES
|
|
-# when AF_BUILD_EXAMPLES is OFF, the examples source is installed without
|
|
-# building the example executables
|
|
-install(DIRECTORY examples/ #NOTE The slash at the end is important
|
|
- DESTINATION ${AF_INSTALL_EXAMPLE_DIR}
|
|
- COMPONENT examples)
|
|
-
|
|
-install(DIRECTORY ${ASSETS_DIR}/examples/ #NOTE The slash at the end is important
|
|
- DESTINATION ${AF_INSTALL_EXAMPLE_DIR}
|
|
- COMPONENT examples)
|
|
|
|
install(DIRECTORY "${ArrayFire_SOURCE_DIR}/LICENSES/"
|
|
DESTINATION LICENSES
|