Skip to content

Commit

Permalink
Build relocatable tinygltf
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Nov 1, 2024
1 parent ab8b42d commit e051d93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tinygltf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if (ENABLE_TINYGLTF)
BUILD_ALWAYS ${EXT_BUILD_ALWAYS} ${LOG_OPTS}
#PATCH_COMMAND ${PATCH_EXECUTABLE};-E;-p1;${PATCH_OPTIONS};-i;${CMAKE_CURRENT_SOURCE_DIR}/tinygltf.patch
CMAKE_ARGS
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DTINYGLTF_BUILD_LOADER_EXAMPLE=OFF
${BUILD_TYPE_SPECIFIER}
-DBIN_DIR=${BIN_DIR}
Expand Down

0 comments on commit e051d93

Please sign in to comment.