3 changed files with 32 additions and 19 deletions
@ -1,19 +1,21 @@
|
||||
set(DISCORD_INTEGRATION OFF) |
||||
set(BUILD_TESTING OFF) |
||||
set(ASAN OFF) |
||||
set(UBSAN OFF) |
||||
SET(DISABLE_LTO ON) |
||||
set(NONET ON) |
||||
set(NOEXIT ON) |
||||
set(BUILD_ASSETS_MPQ ON) |
||||
|
||||
# Packbrew SDK provides SDL_image, but FindSDL2_image() fails to |
||||
# pick up its dependencies (with includes libjpeg, libwebp etc). |
||||
# One way to address this, is to do the following: |
||||
# |
||||
# target_link_libraries(${BIN_TARGET} PUBLIC ${PC_SDL2_image_LIBRARIES}) |
||||
# |
||||
# or simply use the in-tree copy as follows: |
||||
set(DEVILUTIONX_SYSTEM_SDL_IMAGE OFF) |
||||
|
||||
|
||||
set(DISCORD_INTEGRATION OFF) |
||||
set(BUILD_TESTING OFF) |
||||
set(ASAN OFF) |
||||
set(UBSAN OFF) |
||||
SET(DISABLE_LTO ON) |
||||
set(NONET ON) |
||||
set(NOEXIT ON) |
||||
set(BUILD_ASSETS_MPQ ON) |
||||
|
||||
# Packbrew SDK provides SDL_image, but FindSDL2_image() fails to |
||||
# pick up its dependencies (with includes libjpeg, libwebp etc). |
||||
# One way to address this, is to do the following: |
||||
# |
||||
# target_link_libraries(${BIN_TARGET} PUBLIC ${PC_SDL2_image_LIBRARIES}) |
||||
# |
||||
# or simply use the in-tree copy as follows: |
||||
set(DEVILUTIONX_SYSTEM_SDL_IMAGE OFF) |
||||
|
||||
# If the executable is stripped, create-fself fails with: |
||||
# Failed to build FSELF: no symbol section |
||||
set(DEVILUTIONX_DISABLE_STRIP ON) |
||||
|
||||
Loading…
Reference in new issue