1 # ---------------------------------------------------------------------------
3 # Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
4 # ---------------------------------------------------------------------------
5 # SquirrelJME is under the Mozilla Public License Version 2.0.
6 # See license.mkd for licensing and copyright information.
7 # ---------------------------------------------------------------------------
8 # DESCRIPTION: Various hardening options.
10 # For RetroArch disable specific features so they cannot be used
12 # Disable dynamic library support, we do not want to allow loading
13 # native libraries of any kind
14 add_compile_definitions(SJME_CONFIG_HAS_NO_DYLIB_SUPPORT=1)
16 # Disable ScritchUI dynamic libraries
17 add_custom_command(SJME_CONFIG_SCRITCHUI_NO_DYLIB=1)
18 set(SQUIRRELJME_SCRITCHUI_NO_DYLIB ON)
19 set(SQUIRRELJME_SCRITCHUI_NO_DYLIB ON PARENT_SCOPE)