Skip to content

Commit

Permalink
Add the missing glog library.
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed May 26, 2022
1 parent 26ad8e0 commit d49611c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buffer_pool_visualizer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ add_executable(bp_viz buffer_pool_visualizer.cc)

if(TARGET SDL2::SDL2)
# SDL2 built with cmake
target_link_libraries(bp_viz hermes SDL2::SDL2)
target_link_libraries(bp_viz hermes SDL2::SDL2 glog::glog)
else()
# SDL2 built with autotools
target_include_directories(bp_viz PRIVATE ${SDL2_INCLUDE_DIRS})
target_link_libraries(bp_viz hermes ${SDL2_LIBRARIES})
target_link_libraries(bp_viz hermes ${SDL2_LIBRARIES} glog::glog)
endif()

add_custom_target(viz
Expand Down

0 comments on commit d49611c

Please sign in to comment.