gazebo.sdformat: fix cmake file
commitb6be650608084455c64111718de235efccec030c
authorAlexander Ried <ried@mytum.de>
dateTue 6 Sep 2016, 21:08 (10 years ago)
parentd8625f6
pkgs/development/libraries/sdformat/default.nix+4
@@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
1616
1717 inherit name;
1818
19+ prePatch = ''
20+ substituteInPlace cmake/sdf_config.cmake.in --replace "@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@" "@LIB_INSTALL_DIR@"
21+ '';
22+
1923 enableParallelBuilding = true;
2024 buildInputs = [
2125 cmake boost ruby ignition.math2 tinyxml