Skip to content

Commit

Permalink
faust: use default FAUSTFLOAT configuration if using faust from distro
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 26, 2024
1 parent dc29b2f commit 164651b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/plugins/score-plugin-faust/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ add_library(${PROJECT_NAME}
)

score_generate_command_list_file(${PROJECT_NAME} "${HDRS}")
target_compile_definitions(${PROJECT_NAME}
PUBLIC
FAUSTFLOAT=double
)

if(NOT "${FAUST_LIBRARIES}" MATCHES "/usr/l.*")
target_compile_definitions(${PROJECT_NAME}
PUBLIC
FAUSTFLOAT=double
)
endif()

target_link_libraries(${PROJECT_NAME} PUBLIC
score_plugin_media
Expand All @@ -68,7 +71,7 @@ ExternalProject_Add(
faustlibs
PREFIX ""
GIT_REPOSITORY https://github.com/grame-cncm/faustlibraries
GIT_TAG 730eff6dc336973553829235e0b31b24c47a2f69
GIT_TAG 5ee53574d0b910695b9ff3c534b9aa60f7a26d3d
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
Expand Down

0 comments on commit 164651b

Please sign in to comment.