NOISSUE set the required defs for main library

This commit is contained in:
Petr Mrázek 2021-07-26 14:03:59 +02:00
parent 7921f47ec4
commit d2de849c86

View File

@ -918,8 +918,10 @@ endif()
if(DEFINED MultiMC_BINARY_RPATH) if(DEFINED MultiMC_BINARY_RPATH)
SET_TARGET_PROPERTIES(MultiMC PROPERTIES INSTALL_RPATH "${MultiMC_BINARY_RPATH}") SET_TARGET_PROPERTIES(MultiMC PROPERTIES INSTALL_RPATH "${MultiMC_BINARY_RPATH}")
endif() endif()
if(DEFINED MultiMC_APP_BINARY_DEFS) if(DEFINED MultiMC_APP_BINARY_DEFS)
target_compile_definitions(MultiMC PRIVATE ${MultiMC_APP_BINARY_DEFS}) target_compile_definitions(MultiMC PRIVATE ${MultiMC_APP_BINARY_DEFS})
target_compile_definitions(MultiMC_logic PRIVATE ${MultiMC_APP_BINARY_DEFS})
endif() endif()
install(TARGETS MultiMC install(TARGETS MultiMC