message: Set LIEF_EXPORTS for LIEF shared library
diff: @@ -153,7 +153,11 @@ if(MSVC)
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
  endif(MSVC)
  +if (BUILD_SHARED_LIBS)
  + target_compile_definitions(LIB_LIEF PRIVATE -DLIEF_EXPORTS)
  +else()
  target_compile_definitions(LIB_LIEF PRIVATE -DLIEF_STATIC)
  +endif()
  if (LIEF_SUPPORT_CXX14)
  target_compile_features(LIB_LIEF PRIVATE cxx_std_14)
  endif()
  