Skip to content

Commit e051d93

Browse files
committed
Build relocatable tinygltf
1 parent ab8b42d commit e051d93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tinygltf/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ if (ENABLE_TINYGLTF)
2828
BUILD_ALWAYS ${EXT_BUILD_ALWAYS} ${LOG_OPTS}
2929
#PATCH_COMMAND ${PATCH_EXECUTABLE};-E;-p1;${PATCH_OPTIONS};-i;${CMAKE_CURRENT_SOURCE_DIR}/tinygltf.patch
3030
CMAKE_ARGS
31+
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
3132
-DTINYGLTF_BUILD_LOADER_EXAMPLE=OFF
3233
${BUILD_TYPE_SPECIFIER}
3334
-DBIN_DIR=${BIN_DIR}

0 commit comments

Comments
 (0)