diff --git a/src/buffer_pool_visualizer/CMakeLists.txt b/src/buffer_pool_visualizer/CMakeLists.txt index cfadb3474..33c117102 100644 --- a/src/buffer_pool_visualizer/CMakeLists.txt +++ b/src/buffer_pool_visualizer/CMakeLists.txt @@ -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