Findmono.cmake 437 B

1234567891011121314151617
  1. # Find mono dependency
  2. #
  3. # This module defines
  4. # mono_INCLUDE_DIRS
  5. # mono_LIBRARIES
  6. # mono_FOUND
  7. start_find_package(mono)
  8. set(mono_INSTALL_DIR ${PROJECT_SOURCE_DIR}/../Dependencies/mono CACHE PATH "")
  9. gen_default_lib_search_dirs(mono)
  10. list(APPEND mono_INCLUDE_SEARCH_DIRS ${mono_INSTALL_DIR}/include/mono-2.0)
  11. find_imported_includes(mono mono/jit/jit.h)
  12. find_imported_library_shared(mono mono-2.0)
  13. end_find_package(mono mono-2.0)