Skip to content

Commit

Permalink
Added C++17 linkage requirement to targets
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanjhood committed Mar 16, 2024
1 parent 38044b6 commit 8270eb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ target_include_directories(Biquads_Audio_Plugin_Dependencies
INTERFACE
$<TARGET_PROPERTY:Biquads_Audio_Plugin_Dependencies,INCLUDE_DIRECTORIES>
)

target_compile_features(Biquads_Audio_Plugin_Dependencies PRIVATE cxx_std_17)
set_target_properties(Biquads_Audio_Plugin_Dependencies PROPERTIES
POSITION_INDEPENDENT_CODE TRUE
VISIBILITY_INLINES_HIDDEN TRUE
Expand Down Expand Up @@ -200,7 +200,7 @@ else ()
$<INSTALL_INTERFACE:include/${STONEYDSP_BIQUADS_UNIT_EDITOR}.hpp>
)
endif()

target_compile_features(Biquads_Audio_Plugin_Interface INTERFACE cxx_std_17)
set_target_properties(Biquads_Audio_Plugin_Interface PROPERTIES
POSITION_INDEPENDENT_CODE TRUE
VISIBILITY_INLINES_HIDDEN TRUE
Expand Down Expand Up @@ -237,7 +237,7 @@ target_link_libraries (Biquads_Audio_Plugin_Library
INTERFACE
StoneyDSP::Biquads_Audio_Plugin_Interface
)

target_compile_features(Biquads_Audio_Plugin_Library PRIVATE cxx_std_17)
set_target_properties(Biquads_Audio_Plugin_Library PROPERTIES
POSITION_INDEPENDENT_CODE TRUE
VISIBILITY_INLINES_HIDDEN TRUE
Expand Down

0 comments on commit 8270eb1

Please sign in to comment.