NOISSUE introduce the concept of secrets static library

This commit is contained in:
Petr Mrázek
2021-08-27 22:35:17 +02:00
parent 34a5459dce
commit b2c1100b1c
10 changed files with 39 additions and 16 deletions

View File

@ -947,6 +947,10 @@ install(TARGETS MultiMC
RUNTIME DESTINATION ${BINARY_DEST_DIR} COMPONENT Runtime
)
if(MultiMC_EMBED_SECRETS)
target_link_libraries(MultiMC_logic secrets)
endif()
#### The MultiMC bundle mess! ####
# Bundle utilities are used to complete the portable packages - they add all the libraries that would otherwise be missing on the target system.
# NOTE: it seems that this absolutely has to be here, and nowhere else.