Skip to content

Commit

Permalink
Fix Mac release compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed May 25, 2021
1 parent f0c96d7 commit fdc026f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChowCentaur/headless/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ target_include_directories(Centaur_Headless PRIVATE ../../modules/RTNeural/modul
target_link_libraries(Centaur_Headless PUBLIC
BinaryData
ChowCentaur
warning_flags
)

set_target_properties(Centaur_Headless PROPERTIES CXX_VISIBILITY_PRESET hidden)
2 changes: 1 addition & 1 deletion mac_builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rm -Rf build/
rm -Rf bin/*Mac*

# set up build VST
VST_PATH=~/Developer/VST2_SDK/
VST_PATH=~/Developer/Plugin_SDKs/VST2_SDK/
sed -i '' "s~# juce_set_vst2_sdk_path.*~juce_set_vst2_sdk_path(${VST_PATH})~" CMakeLists.txt

# cmake new builds
Expand Down
2 changes: 2 additions & 0 deletions modules/cmake/WarningFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ elseif((CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR (CMAKE_CXX_COMPILER_ID STREQU
# For XSIMD
-Wno-cast-align -Wno-shadow -Wno-implicit-int-conversion
-Wno-zero-as-null-pointer-constant
# Older OSX SDKs don't support aligned allocation
-fno-aligned-allocation
)
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(warning_flags INTERFACE
Expand Down

0 comments on commit fdc026f

Please sign in to comment.