Force a -O0 flag for libdfi
@@ -39,7 +39,7 @@ target_include_directories(dfi PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
$<INSTALL_INTERFACE:include/celix/dfi>
)
-
+target_compile_options(dfi PRIVATE -O0) #Remove optimalization to ensure libdfi / ffi works
target_link_libraries(dfi PRIVATE libffi::libffi)
target_link_libraries(dfi PUBLIC jansson::jansson)
target_link_libraries(dfi PRIVATE Celix::utils)
