Skip to content

Commit

Permalink
Actually include SharedCodeDefaults
Browse files Browse the repository at this point in the history
  • Loading branch information
sudara authored Jun 18, 2024
1 parent 165025c commit bf5e052
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ juce_add_plugin("${PROJECT_NAME}"
# Without running into ODR violations
add_library(SharedCode INTERFACE)

# C++20, please
# Use cxx_std_23 for C++23 (as of CMake v 3.20)
target_compile_features(SharedCode INTERFACE cxx_std_20)
# Enable fast math, C++20 and a few other defaults
include(SharedCodeDefaults)

# Manually list all .h and .cpp files for the plugin
# If you are like me, you'll use globs for your sanity.
Expand Down

0 comments on commit bf5e052

Please sign in to comment.