CMakeLists.txt 583 B

12345678910111213141516171819
  1. # Copyright (c) 2008-2023 the Urho3D project
  2. # License: MIT
  3. # Define target name
  4. set (TARGET_NAME WebP)
  5. # Define source files
  6. define_source_files (RECURSE GLOB_CPP_PATTERNS src/*.c GLOB_H_PATTERNS src/*.h)
  7. # Define dependency libs
  8. if (ANDROID)
  9. set (INCLUDE_DIRS ${ANDROID_NDK}/sources/android/cpufeatures)
  10. endif ()
  11. # Setup target
  12. setup_library ()
  13. # Install headers for building the Urho3D library
  14. install_header_files (DIRECTORY src/webp/ DESTINATION ${DEST_INCLUDE_DIR}/ThirdParty/webp FILES_MATCHING PATTERN *.h BUILD_TREE_ONLY) # Note: the trailing slash is significant