Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
CMP0048 policy warning if used in a project, that uses this policy. #47
Comments
|
IMO the whole CMakeLists.txt should be rewritten for newer CMake versions to better support inclusion in other projects. I forked this (and tacopie, which basically duplicates all build files) since I'd like to use this as a submodule. The whole branch is currnetly probably too large for a single merge, cmake_minimum_required() is currently based on what I had on hand, and I didn't have the time to test any Windows builds. Tried an arm cross compile on Yocto and everything went smoothly, though. I'd like to know if there actually are developers who are forced to use CMake < 3, but still wish to use cpp_redis. |
cpp-redis & tacopie issue
I'm using this library in a project, that uses CMP0048 NEW policy and getting warnings regarding that:
I'm building my project with AppVeyor and it's explicitly handling warnings as errors and turning that off seems to be a bad option security-wise.
A litte bit of googling told me that this might help?
Tencent/rapidjson#1154 (comment)
Edit:
SRombauts/SQLiteCpp#184 (comment)
It seems to be a bad idea to use POLICY OLD, as it will be deprecated in the future.
Setting a proper version number seems to be the correct way to solve this.