From 7229c0ceb616e14688c70f9de1a7c1faa24fb5fd Mon Sep 17 00:00:00 2001 From: Sam Ansmink Date: Thu, 20 Jun 2024 10:26:03 +0200 Subject: [PATCH] fix another small merge issue --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54b84b4..390f876 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,15 +139,15 @@ add_compile_definitions(DEFINE_DEFAULT_ENGINE) # Link delta-kernal-rs to static lib target_link_libraries(${EXTENSION_NAME} - debug "${CMAKE_BINARY_DIR}/rust/src/delta_kernel/target/${RUST_PLATFORM_TARGET}/debug/libdelta_kernel_ffi.a" - optimized "${CMAKE_BINARY_DIR}/rust/src/delta_kernel/target/${RUST_PLATFORM_TARGET}/release/libdelta_kernel_ffi.a" + debug ${DELTA_KERNEL_LIBPATH_DEBUG} + optimized ${DELTA_KERNEL_LIBPATH_RELEASE} ${PLATFORM_LIBS}) add_dependencies(${EXTENSION_NAME} delta_kernel) # Link delta-kernal-rs to dynamic lib target_link_libraries(${LOADABLE_EXTENSION_NAME} - debug "${CMAKE_BINARY_DIR}/rust/src/delta_kernel/target/${RUST_PLATFORM_TARGET}/debug/libdelta_kernel_ffi.a" - optimized "${CMAKE_BINARY_DIR}/rust/src/delta_kernel/target/${RUST_PLATFORM_TARGET}/release/libdelta_kernel_ffi.a" + debug ${DELTA_KERNEL_LIBPATH_DEBUG} + optimized ${DELTA_KERNEL_LIBPATH_RELEASE} ${PLATFORM_LIBS}) add_dependencies(${LOADABLE_EXTENSION_NAME} delta_kernel)