Skip to content

Commit

Permalink
More fixes for MinGW linkage (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin committed Jun 10, 2017
1 parent b58ba48 commit 0a476d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Chapter12/05_testing/05_testing.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ if (!include(../../config.txt)) {
error("Failed to open config.txt")
}

!msvc:DEFINES += BOOST_TEST_DYN_LINK=1
unix:DEFINES += BOOST_TEST_DYN_LINK=1
SOURCES += main.cpp

!msvc:LIBS += -lboost_unit_test_framework -lboost_system
2 changes: 1 addition & 1 deletion Chapter12/06_testing_advanced/06_testing_advanced.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ if (!include(../../config.txt)) {
error("Failed to open config.txt")
}

!msvc:DEFINES += BOOST_TEST_DYN_LINK=1
unix:DEFINES += BOOST_TEST_DYN_LINK=1

SOURCES += main.cpp foo.cpp developer1.cpp developer2.cpp
HEADERS += foo.hpp
Expand Down

0 comments on commit 0a476d8

Please sign in to comment.