We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 276eb63 commit 2ab6c9cCopy full SHA for 2ab6c9c
library/src/main/cpp/CMakeLists.txt
@@ -113,7 +113,9 @@ if(FAKELINKER_INSTALL_PRIVATE_HEADERS)
113
)
114
endif()
115
116
-target_link_libraries(fakelinker_static ${log-lib})
+target_link_libraries(fakelinker_static PRIVATE
117
+ $<BUILD_INTERFACE:${log-lib}>
118
+)
119
120
if(${CMAKE_ANDROID_ARCH_ABI} STREQUAL "arm64-v8a" OR ${CMAKE_ANDROID_ARCH_ABI} STREQUAL "x86_64")
121
target_compile_definitions(fakelinker_static PUBLIC USE_RELA)
0 commit comments