diff options
author | Gereon Kremer <nafur42@gmail.com> | 2021-10-28 12:30:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 19:30:13 +0000 |
commit | 6fb31c779f91fa22186052224ceb38d48ba41fa9 (patch) | |
tree | 6b379311000556e4d90889f0dae77cee2d0b196a /cmake/FindANTLR3.cmake | |
parent | 22b0ff77781b957c3ed714dd7ac88fb8c5a8d25c (diff) |
Combine `--static` and `--static-binary` (#7520)
This PR combines the two configure flags --static and --static-binary into a single --static. Consequently, the two corresponding cmake variables are combined as well. The two variables have been implying each other for some time now and were only used to build not-completely-static binaries for MacOS, which is now done automatically anyway.
Diffstat (limited to 'cmake/FindANTLR3.cmake')
-rw-r--r-- | cmake/FindANTLR3.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindANTLR3.cmake b/cmake/FindANTLR3.cmake index e389e15f0..bc4afda23 100644 --- a/cmake/FindANTLR3.cmake +++ b/cmake/FindANTLR3.cmake @@ -33,7 +33,7 @@ if(ANTLR3_JAR AND ANTLR3_INCLUDE_DIR AND ANTLR3_LIBRARIES) check_system_version("ANTLR3") endif() -if(ENABLE_STATIC_LIBRARY AND ANTLR3_FOUND_SYSTEM) +if(ENABLE_STATIC_BUILD AND ANTLR3_FOUND_SYSTEM) force_static_library() find_library(ANTLR3_STATIC_LIBRARIES NAMES antlr3c) if(NOT ANTLR3_STATIC_LIBRARIES) |