Skip to content

Commit

Permalink
Fix android sample library names in release apks
Browse files Browse the repository at this point in the history
  • Loading branch information
geefr committed Jan 1, 2023
1 parent 9a3fec1 commit 597e690
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/quest/app/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ add_library(native_app_glue STATIC
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_VISIBILITY_PRESET default)

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

# find vsg
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../../../../../VulkanSceneGraph" vsg)
Expand Down
3 changes: 2 additions & 1 deletion examples/quest_composition_layer_quad/app/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ add_library(native_app_glue STATIC
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_VISIBILITY_PRESET default)

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

# find vsg
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../../../../../VulkanSceneGraph" vsg)
Expand Down
3 changes: 2 additions & 1 deletion examples/quest_interaction_locomotion/app/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ add_library(native_app_glue STATIC
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_VISIBILITY_PRESET default)

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

# find vsg
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../../../../../VulkanSceneGraph" vsg)
Expand Down

0 comments on commit 597e690

Please sign in to comment.