Skip to content

Commit

Permalink
Setups target_compile_definitions for swell
Browse files Browse the repository at this point in the history
  • Loading branch information
firthm01 committed Oct 19, 2023
1 parent 889f6d9 commit f011edf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/setup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ add_custom_command(TARGET setup PRE_BUILD
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/helpers/gen_license_header.cmake
)

set_target_properties(setup PROPERTIES FOLDER tools)
set_target_properties(setup PROPERTIES FOLDER tools)
target_link_libraries(setup PRIVATE Juce::core ear-version)
target_include_directories(setup PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${EPS_SHARED_DIR})
target_compile_definitions(setup PUBLIC $<TARGET_PROPERTY:WDL::swell,INTERFACE_COMPILE_DEFINITIONS>)

0 comments on commit f011edf

Please sign in to comment.