The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.6KB

  1. # ==============================================================================
  2. #
  3. # This file is part of the JUCE library.
  4. # Copyright (c) 2017 - ROLI Ltd.
  5. #
  6. # JUCE is an open source library subject to commercial or open-source
  7. # licensing.
  8. #
  9. # The code included in this file is provided under the terms of the ISC license
  10. # http://www.isc.org/downloads/software-support-policy/isc-license. Permission
  11. # To use, copy, modify, and/or distribute this software for any purpose with or
  12. # without fee is hereby granted provided that the above copyright notice and
  13. # this permission notice appear in all copies.
  14. #
  15. # JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  16. # EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  17. # DISCLAIMED.
  18. #
  19. # ==============================================================================
  20. @PACKAGE_INIT@
  21. include("${CMAKE_CURRENT_LIST_DIR}/JUCE.cmake")
  22. get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
  23. get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
  24. get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
  25. get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
  26. if(_IMPORT_PREFIX STREQUAL "/")
  27. set(_IMPORT_PREFIX "")
  28. endif()
  29. if(NOT TARGET juce::juceaide)
  30. add_executable(juce::juceaide IMPORTED)
  31. set_target_properties(juce::juceaide PROPERTIES
  32. IMPORTED_LOCATION "${_IMPORT_PREFIX}/@JUCE_CMAKE_BINARY_BUILDER_NAME@")
  33. endif()
  34. set(_IMPORT_PREFIX)
  35. check_required_components("@PROJECT_NAME@")
  36. include("${CMAKE_CURRENT_LIST_DIR}/JUCEUtils.cmake")