- 05 Aug, 2018 2 commits
-
-
Kenton Varda authored
Apparently, this is compatible with older versions of cmake, while having the same effect. Apparently, the cmake people spent some time refuling to let people specify C++ standard versions and instead insisted that they specify specific features instead. They did not see the light until cmake 3.8, but that's too new for us to require yet, I guess.
-
Kenton Varda authored
I'm tired of working around missing features that were added in C++14. It's four years old now, compilers should support it.
-
- 13 Jul, 2018 1 commit
-
-
Harris Hancock authored
An inconsistency was introduced with the previous fix to allow Cap'n Proto installations in system directories to be found by CapnProtoTargets.cmake: if the user installed Cap'n Proto in two locations, one of which is a system directory, e.g. /usr and /somewhere/else, and set PKG_CONFIG_PATH=/somewhere/else/lib/pkgconfig, the dependent project would use headers from /somewhere/else/include, but libraries from /usr/lib. This change resolves the inconsistency, allowing PKG_CONFIG_PATH to solely control the location of the desired installation of Cap'n Proto.
-
- 22 May, 2018 1 commit
-
-
Ivan Shapovalov authored
It looks like pkg-config silently drops -I and -L flags pointing to default directories: ``` $ cat /usr/lib/pkgconfig/capnp.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: Cap'n Proto Description: Insanely fast serialization system Version: 0.7-dev Libs: -L${libdir} -lcapnp -pthread -lpthread Libs.private: -lpthread Requires: kj = 0.7-dev Cflags: -I${includedir} -pthread $ pkg-config --libs capnp -lcapnp -pthread -lpthread -lkj -pthread -lpthread ``` Ideally, however, we should use FindPkgConfig.cmake's own facilities to generate IMPORTED targets from pkg-config files.
-
- 07 Nov, 2017 2 commits
-
-
Harris Hancock authored
Closes #523. Copied CMake's bundled AnyNewerVersion template to our local cmake/ directory, and modified both CMake and autotools scripts to configure/install it.
-
Harris Hancock authored
This completes the autotools installation of CMake config files, minus version compatibility checking.
-