diff options
Diffstat (limited to 'vcpkg/ports/antlr4/set-export-macro-define-as-private.patch')
| -rw-r--r-- | vcpkg/ports/antlr4/set-export-macro-define-as-private.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/antlr4/set-export-macro-define-as-private.patch b/vcpkg/ports/antlr4/set-export-macro-define-as-private.patch new file mode 100644 index 0000000..c8c774f --- /dev/null +++ b/vcpkg/ports/antlr4/set-export-macro-define-as-private.patch @@ -0,0 +1,13 @@ +diff --git a/runtime/Cpp/runtime/CMakeLists.txt b/runtime/Cpp/runtime/CMakeLists.txt +index 86fdab9..97486fb 100644 +--- a/runtime/Cpp/runtime/CMakeLists.txt ++++ b/runtime/Cpp/runtime/CMakeLists.txt +@@ -120,7 +120,7 @@ set(static_lib_suffix "") + if (WIN32) + set(static_lib_suffix "-static") + if (TARGET antlr4_shared) +- target_compile_definitions(antlr4_shared PUBLIC ANTLR4CPP_EXPORTS) ++ target_compile_definitions(antlr4_shared PRIVATE ANTLR4CPP_EXPORTS) + endif() + if (TARGET antlr4_static) + target_compile_definitions(antlr4_static PUBLIC ANTLR4CPP_STATIC) |