Skip to content

Commit 5a31295

Browse files
sgorpikblaschke
authored andcommitted
Let the static playlist library depend on the static symbols of the projectM library
1 parent fa67d83 commit 5a31295

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/playlist/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ if(BUILD_SHARED_LIBS)
7171
${CMAKE_DL_LIBS}
7272
)
7373
else()
74+
target_compile_definitions(projectM_playlist_main
75+
PUBLIC
76+
PROJECTM_STATIC_DEFINE
77+
)
7478
target_compile_definitions(projectM_playlist
7579
PUBLIC
7680
PROJECTM_STATIC_DEFINE

0 commit comments

Comments
 (0)