ssam expects lib* to be in the Debug subdir, so make cmake put it there, this way it's easier to copy the binaries to your install/Bin/ dir to test. clang gives a lot of -Wlogical-op-parentheses warnings, suppress them.