File noneeded-deps-and-flags.patch of Package KnobKraft-orm
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a72cfc..37a5eac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -146,15 +146,6 @@ ELSEIF(UNIX)
# Include useful scripts for CMake
find_package(PkgConfig REQUIRED)
find_package(OpenGL)
-
- # These calls create special `PkgConfig::<MODULE>` variables
- pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
- pkg_check_modules(GLEW REQUIRED IMPORTED_TARGET glew)
- pkg_check_modules(WEBKIT IMPORTED_TARGET webkit2gtk-4.1)
- if (NOT WEBKIT_FOUND EQUAL 1)
- # If 4.1 is not available, we need 4.0
- pkg_check_modules(WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.0)
- endif()
find_package(ICU REQUIRED data uc)
ENDIF()
@@ -179,15 +170,11 @@ add_subdirectory("third_party/pybind11")
# Define the list of link libraries required on Linux linking with JUCE, this must be used by any executable / module to run standalone
if(UNIX AND NOT APPLE)
set(LINUX_JUCE_LINK_LIBRARIES
- PkgConfig::WEBKIT
- PkgConfig::GTK
- PkgConfig::GLEW
Xext
X11
pthread
${CMAKE_DL_LIBS}
freetype
- curl
asound)
# Also, as we will be building a shared module for Python, make sure GCC generates relocatable code suited for inclusion in a shared library
@@ -226,9 +213,9 @@ target_link_libraries(juce-static
target_compile_definitions(juce-static
PUBLIC
JUCE_STANDALONE_APPLICATION=1
- JUCE_MODAL_LOOPS_PERMITTED=1
- JUCE_USE_NATIVE_FILECHOOSERS=1
- JUCE_PLUGINHOST_VST=0
+ JUCE_MODAL_LOOPS_PERMITTED=1
+ JUCE_USE_NATIVE_FILECHOOSERS=1
+ JUCE_PLUGINHOST_VST=0
JUCE_PLUGINHOST_AU=0
DONT_SET_USING_JUCE_NAMESPACE=1
JUCE_REPORT_APP_USAGE=0
@@ -240,7 +227,9 @@ target_compile_definitions(juce-static
JUCE_COREGRAPHICS_DRAW_ASYNC=1
JUCE_WIN_PER_MONITOR_DPI_AWARE=1
JUCE_USE_FLAC=1
- JUCE_WEB_BROWSER=0
+ JUCE_WEB_BROWSER=0
+ JUCE_USE_CURL=0
+
# JUCE_USE_WINRT_MIDI=1 # So much doesn't work when activating this that this is really scary
INTERFACE
$<TARGET_PROPERTY:juce-static,COMPILE_DEFINITIONS>)
Submodule pytschirp contains modified content
diff --git a/pytschirp/CMakeLists.txt b/pytschirp/CMakeLists.txt
index a29ab73..d9baa3a 100644
--- a/pytschirp/CMakeLists.txt
+++ b/pytschirp/CMakeLists.txt
@@ -11,15 +11,15 @@ project(PyTschirp)
IF (NOT DEFINED JUCE_LINUX_LINK_LIBRARIES)
# They normally should be set by the top level module
set(LINUX_JUCE_LINK_LIBRARIES
- PkgConfig::WEBKIT
- PkgConfig::GTK
- PkgConfig::GLEW
+# PkgConfig::WEBKIT
+# PkgConfig::GTK
+# PkgConfig::GLEW
Xext
X11
pthread
${CMAKE_DL_LIBS}
freetype
- curl
+# curl
asound)
ENDIF()