if(NOT BUILD_SHARED_LIBS)
    add_definitions(-DNONDLL)
endif()