Skip to content

Commit

Permalink
Change location of submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
svillar committed Sep 13, 2024
1 parent 18f12c9 commit 15fca22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
url = https://github.com/Igalia/tinygltf.git
branch = igalia.com/wolvic
[submodule "app/src/KTX-Software"]
path = app/src/KTX-Software
path = app/src/main/cpp/KTX-Software
url = https://github.com/KhronosGroup/KTX-Software.git
branch = 4.2
4 changes: 2 additions & 2 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/../app/src/main/cpp/tinygltf)

# Add dependency on KTX-Software
add_subdirectory(${CMAKE_SOURCE_DIR}/src/KTX-Software)
add_subdirectory(${CMAKE_SOURCE_DIR}/src/main/cpp/KTX-Software)
target_link_libraries(native-lib ktx_read)
target_include_directories(native-lib PRIVATE ${CMAKE_SOURCE_DIR}/src/KTX-Software/include)
target_include_directories(native-lib PRIVATE ${CMAKE_SOURCE_DIR}/src/main/cpp/KTX-Software/include)

# Specifies libraries CMake should link to your target library. You
# can link multiple libraries, such as libraries you define in this
Expand Down

0 comments on commit 15fca22

Please sign in to comment.