From 1b7517cbb72995d54d133084a02f80ff91a12ce4 Mon Sep 17 00:00:00 2001 From: SRSaunders <82544213+SRSaunders@users.noreply.github.com> Date: Wed, 23 Apr 2025 21:49:07 -0400 Subject: [PATCH] Add ispc compiler --pic (position-indepdent) flag for linux compatibility --- neo/libs/ispc_texcomp/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neo/libs/ispc_texcomp/CMakeLists.txt b/neo/libs/ispc_texcomp/CMakeLists.txt index 083bd1a0..4c65917c 100644 --- a/neo/libs/ispc_texcomp/CMakeLists.txt +++ b/neo/libs/ispc_texcomp/CMakeLists.txt @@ -35,7 +35,7 @@ if (USE_INTRINSICS_SSE) COMMAND ${ISPC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${ISPC_SOURCE} -o ${ISPC_OBJ} -h ${ISPC_HEADER} - --target=avx2-i32x8 --arch=x86-64 + --target=avx2-i32x8 --arch=x86-64 --pic DEPENDS ${ISPC_SOURCE} COMMENT "Compiling ISPC file ${ISPC_SOURCE}" ) @@ -46,7 +46,7 @@ elseif (USE_INTRINSICS_NEON) COMMAND ${ISPC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${ISPC_SOURCE} -o ${ISPC_OBJ} -h ${ISPC_HEADER} - --target=neon-i32x8 --arch=aarch64 + --target=neon-i32x8 --arch=aarch64 --pic DEPENDS ${ISPC_SOURCE} COMMENT "Compiling ISPC file ${ISPC_SOURCE}" )