We use this, which works fine for me on Ubuntu:
find_package(Boost COMPONENTS system filesystem regex serialization thread log
REQUIRED)
Cheers,
Michi.
> On 27 Jan 2016, at 12:54 , Johnson, Matt (GE Healthcare)
> wrote:
>
> I like package config files. I want to use more of them. However,
When using ccmake (cmake-curses-gui), I used to easily be able to switch
between clang and gcc by hitting "t" and changing the CMAKE_CXX_COMPILER
variable to "c++" or "clang++" as appropriate. Doing this would also
automatically adjust the path to point at ccache (if ccache is installed).
Now,
On 2 Jan 2014, at 14:13 , Matt Wilbur wrote:
> I am a CMake newbie (like, just this week), and this is only a partial
> solution (I think I could probably flesh it out if we knew what the version
> string would look like in all situations), but maybe something like this:
find_package will alw
I would like to add a target to format my code with clang-format. However,
clang-format isn't installed as "clang-format" (at least not on Ubuntu).
Instead, it installs itself as "clang-format-3.4", "clang-format-3.5", etc.
Is there a reasonable way to locate the binary with the largest version