Skip to content

Commit 597e690

Browse files
committed
Fix android sample library names in release apks
1 parent 9a3fec1 commit 597e690

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

examples/quest/app/cpp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ add_library(native_app_glue STATIC
1111
set(CMAKE_CXX_STANDARD 17)
1212
set(CMAKE_CXX_VISIBILITY_PRESET default)
1313

14-
# To prevent errors when loading the native activity, ensure library name is the same in debug builds
14+
# To prevent errors when loading the native activity, ensure library name is the same in all builds
1515
set(CMAKE_DEBUG_POSTFIX "")
16+
set(CMAKE_RELWITHDEBINFO_POSTFIX "")
1617

1718
# find vsg
1819
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../../../../../VulkanSceneGraph" vsg)

examples/quest_composition_layer_quad/app/cpp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ add_library(native_app_glue STATIC
1111
set(CMAKE_CXX_STANDARD 17)
1212
set(CMAKE_CXX_VISIBILITY_PRESET default)
1313

14-
# To prevent errors when loading the native activity, ensure library name is the same in debug builds
14+
# To prevent errors when loading the native activity, ensure library name is the same in all builds
1515
set(CMAKE_DEBUG_POSTFIX "")
16+
set(CMAKE_RELWITHDEBINFO_POSTFIX "")
1617

1718
# find vsg
1819
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../../../../../VulkanSceneGraph" vsg)

examples/quest_interaction_locomotion/app/cpp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ add_library(native_app_glue STATIC
1111
set(CMAKE_CXX_STANDARD 17)
1212
set(CMAKE_CXX_VISIBILITY_PRESET default)
1313

14-
# To prevent errors when loading the native activity, ensure library name is the same in debug builds
14+
# To prevent errors when loading the native activity, ensure library name is the same in all builds
1515
set(CMAKE_DEBUG_POSTFIX "")
16+
set(CMAKE_RELWITHDEBINFO_POSTFIX "")
1617

1718
# find vsg
1819
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../../../../../VulkanSceneGraph" vsg)

0 commit comments

Comments
 (0)