diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-12-17 14:33:05 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-17 10:17:51 -0800 |
commit | 92d1dbe3fdc305e25436d93707c8b49017ea4346 (patch) | |
tree | 1457c0843ed4751a58070ec311111427a5fe11ab /CMakeLists.txt | |
parent | 9626b8ad8434ee0a64ecffd42eefbddbbaf4bea8 (diff) | |
download | subsurface-92d1dbe3fdc305e25436d93707c8b49017ea4346.tar.gz |
Build on android is a shared library
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 255ff625d..983d48b3b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -244,7 +244,7 @@ elseif(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable") ) source_group("Subsurface App" FILES ${SUBSURFACE_APP}) if(ANDROID) - add_library(${SUBSURFACE_TARGET} MACOSX_BUNDLE WIN32 ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES}) + add_library(${SUBSURFACE_TARGET} SHARED ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES}) else() add_executable(${SUBSURFACE_TARGET} MACOSX_BUNDLE WIN32 ${SUBSURFACE_PKG} ${SUBSURFACE_APP} ${SUBSURFACE_RESOURCES}) endif() |