at 24.11-pre 1.3 kB view raw
1diff --git a/CMakeLists.txt b/CMakeLists.txt 2index 12d6e557c..cc004555d 100644 3--- a/CMakeLists.txt 4+++ b/CMakeLists.txt 5@@ -321,11 +321,6 @@ if(NOT TARGET nonstd::span-lite) 6 7 endif() 8 9-af_dep_check_and_populate(${assets_prefix} 10- URI https://github.com/arrayfire/assets.git 11- REF master 12-) 13-set(ASSETS_DIR ${${assets_prefix}_SOURCE_DIR}) 14 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) 20 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) 29- 30-install(DIRECTORY ${ASSETS_DIR}/examples/ #NOTE The slash at the end is important 31- DESTINATION ${AF_INSTALL_EXAMPLE_DIR} 32- COMPONENT examples) 33 34 install(DIRECTORY "${ArrayFire_SOURCE_DIR}/LICENSES/" 35 DESTINATION LICENSES