External, Non-PPA KXStudio Repository
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.

85 lines
3.9KB

  1. diff --git a/extras/Build/CMake/JUCEConfig.cmake.in b/extras/Build/CMake/JUCEConfig.cmake.in
  2. index 6a96e24..500528d 100644
  3. --- a/extras/Build/CMake/JUCEConfig.cmake.in
  4. +++ b/extras/Build/CMake/JUCEConfig.cmake.in
  5. @@ -22,10 +22,12 @@
  6. include("${CMAKE_CURRENT_LIST_DIR}/LV2_HELPER.cmake")
  7. -if(NOT TARGET juce::juceaide)
  8. - add_executable(juce::juceaide IMPORTED)
  9. - set_target_properties(juce::juceaide PROPERTIES
  10. - IMPORTED_LOCATION "@PACKAGE_JUCEAIDE_PATH@")
  11. +set(PACKAGE_PREFIX_DIR "@CMAKE_INSTALL_PREFIX@")
  12. +
  13. +if(NOT TARGET juceaide70)
  14. + add_executable(juceaide70 IMPORTED)
  15. + set_target_properties(juceaide70 PROPERTIES
  16. + IMPORTED_LOCATION "${PACKAGE_PREFIX_DIR}/bin/juceaide70")
  17. endif()
  18. check_required_components("@PROJECT_NAME@")
  19. diff --git a/extras/Build/CMake/JUCEUtils.cmake b/extras/Build/CMake/JUCEUtils.cmake
  20. index d775ab8..a61b3f4 100644
  21. --- a/extras/Build/CMake/JUCEUtils.cmake
  22. +++ b/extras/Build/CMake/JUCEUtils.cmake
  23. @@ -202,7 +202,7 @@ function(_juce_create_embedded_linux_subprocess_target output_target_name target
  24. OUTPUT
  25. ${binary_header_file}
  26. ${binary_source_file}
  27. - COMMAND juce::juceaide binarydata "LinuxSubprocessHelperBinaryData" "${binary_header_file}"
  28. + COMMAND juceaide70 binarydata "LinuxSubprocessHelperBinaryData" "${binary_header_file}"
  29. ${juce_linux_subprocess_helper_binary_dir} "${juceaide_input_file}"
  30. COMMAND
  31. ${CMAKE_COMMAND} -E rename "${juce_linux_subprocess_helper_binary_dir}/BinaryData1.cpp" "${binary_source_file}"
  32. @@ -436,7 +436,7 @@ function(juce_add_binary_data target)
  33. file(WRITE "${input_file_list}" "${newline_delimited_input}")
  34. add_custom_command(OUTPUT ${binary_file_names}
  35. - COMMAND juce::juceaide binarydata "${JUCE_ARG_NAMESPACE}" "${JUCE_ARG_HEADER_NAME}"
  36. + COMMAND juceaide70 binarydata "${JUCE_ARG_NAMESPACE}" "${JUCE_ARG_HEADER_NAME}"
  37. ${juce_binary_data_folder} "${input_file_list}"
  38. WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
  39. DEPENDS "${input_file_list}" ${JUCE_ARG_SOURCES}
  40. @@ -520,7 +520,7 @@ function(juce_generate_juce_header target)
  41. set(extra_args)
  42. add_custom_command(OUTPUT "${juce_header}"
  43. - COMMAND juce::juceaide header "${defs_file}" "${juce_header}" ${extra_args}
  44. + COMMAND juceaide70 header "${defs_file}" "${juce_header}" ${extra_args}
  45. DEPENDS "${defs_file}"
  46. VERBATIM)
  47. endfunction()
  48. @@ -528,11 +528,11 @@ endfunction()
  49. # ==================================================================================================
  50. function(_juce_execute_juceaide)
  51. - if(NOT TARGET juce::juceaide)
  52. + if(NOT TARGET juceaide70)
  53. message(FATAL_ERROR "The juceaide target does not exist")
  54. endif()
  55. - get_target_property(juceaide_location juce::juceaide IMPORTED_LOCATION)
  56. + get_target_property(juceaide_location juceaide70 IMPORTED_LOCATION)
  57. if(NOT EXISTS "${juceaide_location}")
  58. message(FATAL_ERROR "juceaide was imported, but it doesn't exist!")
  59. @@ -681,7 +681,7 @@ function(_juce_configure_bundle source_target dest_target)
  60. MACOSX_BUNDLE_INFO_PLIST "${this_output_plist}")
  61. add_custom_command(OUTPUT "${this_output_pkginfo}"
  62. - COMMAND juce::juceaide pkginfo "${juce_kind_string}" "${this_output_pkginfo}"
  63. + COMMAND juceaide70 pkginfo "${juce_kind_string}" "${this_output_pkginfo}"
  64. VERBATIM)
  65. set(output_folder "$<TARGET_BUNDLE_CONTENT_DIR:${dest_target}>")
  66. @@ -769,7 +769,7 @@ function(_juce_add_resources_rc source_target dest_target)
  67. set(resource_rc_file "${juce_library_code}/${source_target}_resources.rc")
  68. add_custom_command(OUTPUT "${resource_rc_file}"
  69. - COMMAND juce::juceaide rcfile "${input_info_file}" "${resource_rc_file}"
  70. + COMMAND juceaide70 rcfile "${input_info_file}" "${resource_rc_file}"
  71. ${dependency}
  72. VERBATIM)