Skip to content

Commit

Permalink
BUILD: Add Boost to link directories in CMakeLists.txt
Browse files Browse the repository at this point in the history
This fixes the linking error when using MSVC.
  • Loading branch information
vkremianskii committed Jun 22, 2019
1 parent dcfa448 commit 871142b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ list(APPEND PHAETHON_LIBRARIES ${ZLIB_LIBRARIES})
find_package(Boost COMPONENTS system filesystem date_time locale chrono REQUIRED)

include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
list(APPEND PHAETHON_LIBRARIES ${Boost_LIBRARIES})

find_package(OpenAL REQUIRED)
Expand Down

0 comments on commit 871142b

Please sign in to comment.