CMakeLists.txt 677 B

12345678910111213141516171819202122
  1. # Copyright (c) 2008-2023 the Urho3D project
  2. # License: MIT
  3. # Define target name
  4. set (TARGET_NAME AssetImporter)
  5. # Urho3D: This hack allows build 32-bit version on Ubunti x64
  6. # TODO: Why is it not being detected correctly?
  7. if (CMAKE_LIBRARY_ARCHITECTURE STREQUAL "x86_64-linux-gnu" AND NOT URHO3D_64BIT)
  8. set (CMAKE_LIBRARY_ARCHITECTURE "i386-linux-gnu")
  9. endif ()
  10. # Define source files
  11. define_source_files ()
  12. # Define dependency libs
  13. add_subdirectory (../../ThirdParty/Assimp ../../ThirdParty/Assimp)
  14. set (LIBS Assimp)
  15. set (INCLUDE_DIRS ../../ThirdParty/Assimp/include ${CMAKE_CURRENT_BINARY_DIR}/../../ThirdParty/Assimp/include)
  16. # Setup target
  17. setup_executable (TOOL)