mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-09-19 15:11:42 +02:00
DPPAsExternalProject: build should work now
This commit is contained in:
parent
4fe57d1a24
commit
820593ca2d
2 changed files with 25 additions and 6 deletions
|
@ -93,6 +93,9 @@ endif()
|
|||
|
||||
# dtranslatebot Target + Installs
|
||||
add_executable(dtranslatebot ${DTRANSLATEBOT_HEADERS} ${DTRANSLATEBOT_SOURCES} ${DTRANSLATEBOT_RESOURCES})
|
||||
if (WITH_DPP_AS_EXTERNAL_PROJECT)
|
||||
add_dependencies(dtranslatebot DPP)
|
||||
endif()
|
||||
target_compile_definitions(dtranslatebot PRIVATE
|
||||
$<$<BOOL:${DTRANSLATEBOT_USE_BOOST_REGEX}>:DTRANSLATEBOT_USE_BOOST_REGEX>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue