diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index d8afd671c2..20554cace6 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -19,4 +19,4 @@ file(GLOB VERSION_SCRIPT CONFIGURE_DEPENDS add_library(yoga SHARED ${SOURCES}) target_link_libraries(yoga yogacore) -target_link_options(yoga PRIVATE -Wl,--version-script=${VERSION_SCRIPT}) +target_link_options(yoga PUBLIC -Wl,--version-script=${VERSION_SCRIPT})