mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
cmake: fix embedded allegro getting built as a shared lib
This commit is contained in:
parent
d9b0892637
commit
521ea828f8
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if (EMSCRIPTEN)
|
|||
endif()
|
||||
|
||||
if (LIBSUPERDERPY_EMBEDDED_ALLEGRO)
|
||||
set(SHARED OFF) # Allegro doesn't namespace this...
|
||||
option(SHARED "Build embedded Allegro as a shared library" OFF) # Allegro doesn't namespace this...
|
||||
add_subdirectory("3rdparty/allegro5" EXCLUDE_FROM_ALL)
|
||||
set_property(TARGET "allegro" PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
set_property(TARGET "allegro_font" PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
|
Loading…
Reference in a new issue