Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kill_it:JUCE
Wavetable
01-Wavetable-CMakeLists.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 01-Wavetable-CMakeLists.patch of Package Wavetable
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5086ace..9cc6262 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ set (CMAKE_OBJCXX_STANDARD_REQUIRED ON) set (CMAKE_CXX_VISIBILITY_PRESET hidden) set (CMAKE_VISIBILITY_INLINES_HIDDEN ON) set (CMAKE_MINSIZEREL_POSTFIX -rm) -set (CMAKE_RELWITHDEBINFO_POSTFIX -rd) +# set (CMAKE_RELWITHDEBINFO_POSTFIX -rd) set (CMAKE_OPTIMIZE_DEPENDENCIES OFF) set (BUILD_SHARED_LIBS OFF) @@ -70,9 +70,10 @@ set (JUCE_ENABLE_MODULE_SOURCE_GROUPS ON) set (JUCE_BUILD_EXTRAS OFF) set (JUCE_BUILD_EXAMPLES OFF) -add_subdirectory (modules/juce) +# add_subdirectory (modules/juce) +find_package(JUCE CONFIG REQUIRED) -set_property (DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/modules/juce" APPEND PROPERTY LABELS JUCE) + set_property (SOURCE JUCE APPEND PROPERTY LABELS JUCE) # @@ -101,11 +102,11 @@ file (GLOB_RECURSE binary_files CONFIGURE_DEPENDS juce_add_binary_data (${PLUGIN_NAME}_Assets SOURCES ${binary_files}) -set_target_properties(${PLUGIN_NAME}_Assets PROPERTIES UNITY_BUILD ON UNITY_BUILD_MODE BATCH UNITY_BUILD_BATCH_SIZE 10) +# set_target_properties(${PLUGIN_NAME}_Assets PROPERTIES UNITY_BUILD ON UNITY_BUILD_MODE BATCH UNITY_BUILD_BATCH_SIZE 10) set_property(GLOBAL PROPERTY USE_FOLDERS ON) -juce_set_vst2_sdk_path (${CMAKE_SOURCE_DIR}/modules/plugin_sdk/vstsdk2.4) +# juce_set_vst2_sdk_path (${CMAKE_SOURCE_DIR}/modules/plugin_sdk/vstsdk2.4) juce_add_plugin (${PLUGIN_NAME} PRODUCT_NAME ${PLUGIN_NAME} @@ -185,7 +186,8 @@ target_compile_definitions (${PLUGIN_NAME} PRIVATE JUCE_MODAL_LOOPS_PERMITTED=0 JUCE_WEB_BROWSER=0 JUCE_USE_FLAC=1 - JUCE_USE_CURL=1 + JUCE_JACK=1 + JUCE_USE_CURL=0 JUCE_USE_MP3AUDIOFORMAT=0 JUCE_USE_LAME_AUDIO_FORMAT=0 JUCE_USE_WINDOWS_MEDIA_FORMAT=0 @@ -233,7 +235,7 @@ if (WIN32) endif() if(UNIX AND NOT APPLE) - target_link_libraries (${PLUGIN_NAME} PRIVATE curl) + target_link_libraries (${PLUGIN_NAME} PRIVATE) endif()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor