toolchain.cmake.in 438 B

12345678910
  1. set(CMAKE_SYSTEM_NAME Linux)
  2. set(CMAKE_C_COMPILER @@TARGET_CC@@)
  3. set(CMAKE_CXX_COMPILER @@TARGET_CXX@@)
  4. set(CMAKE_INSTALL_SO_NO_EXE 0)
  5. set(CMAKE_PROGRAM_PATH \"@@STAGING_HOST_DIR@@/usr/bin\")
  6. set(CMAKE_FIND_ROOT_PATH \"@@STAGING_TARGET_DIR@@\")
  7. set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
  8. set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
  9. set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
  10. set(ENV{PKG_CONFIG_SYSROOT_DIR} \"@@STAGING_TARGET_DIR@@\")