Skip to content

Commit 918e7ed

Browse files
cmake: Add Boost library link directory
Signed-off-by: Stefan Herbrechtsmeier <[email protected]>
1 parent e90231c commit 918e7ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ IF (MSGPACK_BOOST)
100100
${Boost_INCLUDE_DIRS}
101101
)
102102
ENDIF ()
103+
IF (Boost_LIBRARY_DIRS)
104+
LINK_DIRECTORIES (
105+
${Boost_LIBRARY_DIRS}
106+
)
107+
ENDIF ()
103108
IF (MSGPACK_BOOST_DIR)
104109
INCLUDE_DIRECTORIES (
105110
${MSGPACK_BOOST_DIR}

0 commit comments

Comments
 (0)