Skip to content

Commit

Permalink
deps: add nlopt
Browse files Browse the repository at this point in the history
  • Loading branch information
zsliu98 committed Nov 13, 2024
1 parent ac23da4 commit 7a89671
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@
path = modules/friz
url = https://github.com/ZL-Audio/animator
branch = master
[submodule "nlopt"]
path = nlopt
url = https://github.com/ZL-Audio/nlopt
branch = master
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ target_compile_definitions(SharedCode
CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}"
VERSION="${CURRENT_VERSION}"

# JUCE_DISPLAY_SPLASH_SCREEN=0

# JucePlugin_Name is for some reason doesn't use the nicer PRODUCT_NAME
PRODUCT_NAME_WITHOUT_VERSION="${PRODUCT_NAME}"
# JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS=1
Expand All @@ -176,11 +174,13 @@ target_link_libraries(SharedCode
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags
friz
# Boost::boost
)

# add nlopt
add_subdirectory(nlopt)

# Link the JUCE plugin targets our SharedCode target
target_link_libraries("${PROJECT_NAME}" PRIVATE SharedCode)
target_link_libraries("${PROJECT_NAME}" PRIVATE SharedCode nlopt)

# IPP support, comment out to disable
include(PamplejuceIPP)
Expand Down
1 change: 1 addition & 0 deletions nlopt
Submodule nlopt added at ab0fd1

0 comments on commit 7a89671

Please sign in to comment.