Skip to content

Commit 773fbe5

Browse files
madebrsezero
authored andcommitted
cmake: add MODPLUG_STATIC macro to public interface
1 parent 497ee56 commit 773fbe5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ if (BUILD_SHARED_LIBS)
162162
if(MATH_LIB)
163163
target_link_libraries(modplug m)
164164
endif()
165+
else()
166+
target_compile_definitions(modplug PUBLIC MODPLUG_STATIC)
165167
endif()
166168

167169
# install the library:

0 commit comments

Comments
 (0)