diff --git a/3rdparty/libpd b/3rdparty/libpd index 0d1c6bc842..a02ba653d9 160000 --- a/3rdparty/libpd +++ b/3rdparty/libpd @@ -1 +1 @@ -Subproject commit 0d1c6bc84295e5c41cd67967759c55da81434f86 +Subproject commit a02ba653d9675ffd84f63eff14d9123b154353d7 diff --git a/src/plugins/score-plugin-pd/CMakeLists.txt b/src/plugins/score-plugin-pd/CMakeLists.txt index f4c1ea9128..6361fd44ad 100644 --- a/src/plugins/score-plugin-pd/CMakeLists.txt +++ b/src/plugins/score-plugin-pd/CMakeLists.txt @@ -10,10 +10,14 @@ if(SCORE_FAST_DEV_BUILD) return() endif() +set(LIBPD_STATIC ON CACHE INTERNAL "") +set(LIBPD_SHARED OFF CACHE INTERNAL "") set(PD_MULTI ON CACHE INTERNAL "") +if(WIN32) + set(PD_DEFINE_EXTERN extern CACHE INTERNAL "") +endif() set(CMAKE_C_VISIBILITY_PRESET "hidden") add_subdirectory("${3RDPARTY_FOLDER}/libpd" "${CMAKE_BINARY_DIR}/libpd") -set_target_properties(libpd_static PROPERTIES UNITY_BUILD 0) if(NOT TARGET libpd_static) message("Problem occurring when building libpd")