Prebuilt.cmake 427 B

12345678910111213
  1. # -*- cmake -*-
  2. if (PREBUILT_CMAKE_INCLUDED)
  3. return()
  4. endif (PREBUILT_CMAKE_INCLUDED)
  5. set (PREBUILT_CMAKE_INCLUDED TRUE)
  6. macro (use_prebuilt_binary _binary)
  7. get_property(PREBUILT_PACKAGES TARGET prepare PROPERTY PREBUILT)
  8. list(FIND PREBUILT_PACKAGES ${_binary} _index)
  9. if(_index LESS 0)
  10. set_property(TARGET prepare APPEND PROPERTY PREBUILT ${_binary})
  11. endif(_index LESS 0)
  12. endmacro (use_prebuilt_binary _binary)