SET(PLATFORM_MMAP "-D_POSIX_MAPPED_FILES")
ENDIF(NOT WIN32)
-ADD_LIBRARY(interpkernel SHARED ${interpkernel_SOURCES})
+ADD_LIBRARY(interpkernel ${interpkernel_SOURCES})
SET_TARGET_PROPERTIES(interpkernel PROPERTIES COMPILE_FLAGS "${PLATFORM_MMAP}")
TARGET_LINK_LIBRARIES(interpkernel ${PLATFORM_LIBS})
INSTALL(TARGETS interpkernel EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${MEDCOUPLING_INSTALL_LIBS})