Skip to content

Commit

Permalink
Fix juce company name property issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Jan 27, 2025
1 parent 1fcaf2d commit bd37192
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ if(ENABLE_PERFETTO)
add_subdirectory(Libraries/melatonin_perfetto EXCLUDE_FROM_ALL)
endif()

set(PLUGDATA_VERSION "0.9.2")
set_directory_properties(PROPERTIES JUCE_COMPANY_NAME "plugdata")
set_directory_properties(PROPERTIES JUCE_COMPANY_NAME "plugdata by Timothy Schoen")
set_directory_properties(PROPERTIES JUCE_COMPANY_NAME "plugdata.org")

cmake_policy(SET CMP0091 NEW)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

Expand Down Expand Up @@ -127,11 +132,6 @@ if(NOT PACKAGE_RESOURCES_RESULT EQUAL 0)
message(FATAL_ERROR "Resource packaging failed with error code ${PACKAGE_RESOURCES_RESULT}")
endif()

set(PLUGDATA_VERSION "0.9.2")
set(PLUGDATA_COMPANY_NAME "plugdata")
set(PLUGDATA_COMPANY_COPYRIGHT "plugdata by Timothy Schoen")
set(PLUGDATA_COMPANY_WEBSITE "github.com/plugdata-team/plugdata")

if("${CMAKE_SYSTEM_NAME}" MATCHES "iOS")
set(PLUGDATA_ICON_BIG "${CMAKE_CURRENT_SOURCE_DIR}/Resources/Icons/plugdata_logo_ios.png")
elseif(APPLE)
Expand Down Expand Up @@ -397,9 +397,6 @@ set(AU_EFFECT_TYPE kAudioUnitType_Effect)

juce_add_plugin(plugdata_standalone
VERSION ${PLUGDATA_VERSION}
COMPANY_NAME ${PLUGDATA_COMPANY_NAME}
COMPANY_COPYRIGHT ${PLUGDATA_COMPANY_COPYRIGHT}
COMPANY_WEBSITE ${PLUGDATA_COMPANY_WEBSITE}
PLUGIN_DESCRIPTION "A plugin that loads Pure Data patches"
ICON_BIG ${PLUGDATA_ICON_BIG}
LAUNCH_STORYBOARD_FILE ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Icons/LaunchScreen.storyboard
Expand Down Expand Up @@ -443,11 +440,10 @@ juce_add_plugin(plugdata_standalone
target_sources(plugdata_standalone_Standalone PUBLIC ${IOS_LAUNCHSCREEN})
endif()



juce_add_plugin(plugdata
VERSION ${PLUGDATA_VERSION}
COMPANY_NAME ${PLUGDATA_COMPANY_NAME}
COMPANY_COPYRIGHT ${PLUGDATA_COMPANY_COPYRIGHT}
COMPANY_WEBSITE ${PLUGDATA_COMPANY_WEBSITE}
PLUGIN_DESCRIPTION "Visual audio programming environment"
ICON_BIG ${PLUGDATA_ICON_BIG}
MICROPHONE_PERMISSION_ENABLED TRUE
Expand Down Expand Up @@ -479,9 +475,6 @@ juce_add_plugin(plugdata

juce_add_plugin(plugdata_fx
VERSION ${PLUGDATA_VERSION}
COMPANY_NAME ${PLUGDATA_COMPANY_NAME}
COMPANY_COPYRIGHT ${PLUGDATA_COMPANY_COPYRIGHT}
COMPANY_WEBSITE ${PLUGDATA_COMPANY_WEBSITE}
PLUGIN_DESCRIPTION "Visual audio programming environment"
ICON_BIG ${PLUGDATA_ICON_BIG}
HARDENED_RUNTIME_ENABLED ${HARDENED_RUNTIME_ENABLED}
Expand Down Expand Up @@ -515,9 +508,6 @@ juce_add_plugin(plugdata_fx
if(APPLE)
juce_add_plugin(plugdata_midi
VERSION ${PLUGDATA_VERSION}
COMPANY_NAME ${PLUGDATA_COMPANY_NAME}
COMPANY_COPYRIGHT ${PLUGDATA_COMPANY_COPYRIGHT}
COMPANY_WEBSITE ${PLUGDATA_COMPANY_WEBSITE}
ICON_BIG ${PLUGDATA_ICON_BIG}
HARDENED_RUNTIME_ENABLED ${HARDENED_RUNTIME_ENABLED}
HARDENED_RUNTIME_OPTIONS ${HARDENED_RUNTIME_OPTIONS}
Expand Down

0 comments on commit bd37192

Please sign in to comment.