fix add_dependencies for WITH_DPP_STATIC_BUNDLE

This commit is contained in:
Syping 2024-03-12 06:36:24 +01:00
parent fb709b8919
commit 6f6b5eaa69

View file

@ -96,7 +96,7 @@ endif()
# dtranslatebot Target + Installs # dtranslatebot Target + Installs
add_executable(dtranslatebot ${DTRANSLATEBOT_HEADERS} ${DTRANSLATEBOT_SOURCES} ${DTRANSLATEBOT_RESOURCES}) add_executable(dtranslatebot ${DTRANSLATEBOT_HEADERS} ${DTRANSLATEBOT_SOURCES} ${DTRANSLATEBOT_RESOURCES})
if (WITH_DPP_AS_EXTERNAL_PROJECT) if (WITH_DPP_STATIC_BUNDLE)
add_dependencies(dtranslatebot DPP) add_dependencies(dtranslatebot DPP)
endif() endif()
target_compile_definitions(dtranslatebot PRIVATE target_compile_definitions(dtranslatebot PRIVATE