From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-03-20 20:07:20


Dennis Luehring wrote:
...
> find_package( Boost REQUIRED COMPONENTS locale )
> add_executable( my_test main.cpp)
> target_link_libraries( my_test PRIVATE Boost::boost )
...
> any idea what is happening here?

Since Locale is a compiled library, you need to link to Boost::locale.

target_link_libraries( my_test PRIVATE Boost::boost Boost::locale )