[glibmm] Rephrase comment

This commit is contained in:
Norbert Nemec 2019-06-03 15:02:21 +02:00
parent aaae648571
commit 66169e3f0d

View File

@ -40,9 +40,9 @@ if(APPLE)
link_libraries(${COREFOUNDATION_LIBRARY} ${CORESERVICES_LIBRARY} ${FOUNDATION_LIBRARY}) link_libraries(${COREFOUNDATION_LIBRARY} ${CORESERVICES_LIBRARY} ${FOUNDATION_LIBRARY})
endif() endif()
# A hacky solution for building Windows DLLs from sources ported from Linux. # Activate workaround for exporting all symbols from Windows DLLs to mimic the
# The cleaner approach would be to manually add __declspec(dllexport) to all public symbols in the header files or # behavior on Linux, where dynamic libraries always export all symbols.
# construct a .def file. # The same approach was already used by the upstream MSVC build (see MSVC_NMake/gendef/gendef.cc)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
if(BUILD_SHARED_LIBS) if(BUILD_SHARED_LIBS)