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 198f1fc commit 92ca918Copy full SHA for 92ca918
CMakeLists.txt
@@ -509,6 +509,11 @@ if(NOT SNMALLOC_HEADER_ONLY_LIBRARY)
509
function(compile name TYPE ${ARGN})
510
add_library(${name} ${TYPE} ${ARGN})
511
target_link_libraries(${name} PRIVATE snmalloc)
512
+
513
+ # PRIVATE linking still touches INTERFACE level linking for unknown reasons.
514
+ # Check https://github.com/microsoft/snmalloc/pull/799 for details.
515
+ set_target_properties(${name} PROPERTIES INTERFACE_LINK_LIBRARIES "")
516
517
target_compile_definitions(${name} PRIVATE "SNMALLOC_USE_${SNMALLOC_CLEANUP}")
518
519
add_warning_flags(${name})
0 commit comments