Skip to content

Commit a749338

Browse files
Link against boost statically.
1 parent 5ddc2aa commit a749338

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ target_link_libraries(diagon_base
103103
)
104104
target_set_common(diagon_base)
105105

106+
set(Boost_USE_STATIC_LIBS ON)
106107
add_subdirectory(src/screen)
107108
add_subdirectory(src/translator/frame)
108109
add_subdirectory(src/translator/grammar)

src/input_output_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ int main(int, const char**) {
5454
if (!translator) {
5555
std::cout << "Translator " << translator_name << " not found."
5656
<< std::endl;
57-
result = EXIT_FAILURE;
5857
continue;
5958
}
6059

src/translator/graph_planar/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
find_package(Boost COMPONENTS graph)
22

3-
if (Boost_FOUND OR EMSCRIPTEN)
3+
if (NOT APPLE AND (Boost_FOUND OR EMSCRIPTEN))
44
ANTLR(GraphPlanar.g4)
55
add_library(translator_graph_planar STATIC
66
GraphPlanarLexer.cpp

0 commit comments

Comments
 (0)