Browse Source

package: set RPATH to install dir so the proper dependencies are used.

pull/34/head
Vladimír Vondruš 13 years ago
parent
commit
28e0361984
  1. 1
      package/ci/jenkins.xml

1
package/ci/jenkins.xml

@ -118,6 +118,7 @@ cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_FIND_ROOT_PATH=${JENKINS_HOME}/filesystem/${compiler}-${libraries} \
-DCMAKE_INSTALL_PREFIX=${JENKINS_HOME}/filesystem/${compiler}-${libraries}-${compatibility}-${gl} \
-DCMAKE_INSTALL_RPATH="${JENKINS_HOME}/filesystem/${compiler}-${libraries}/lib;${JENKINS_HOME}/filesystem/${compiler}-${libraries}-${compatibility}-${gl}/lib" \
-DCMAKE_CXX_COMPILER=${compiler_binary} \
"${compiler_flags[@]}" \
-DBUILD_TESTS=ON \

Loading…
Cancel
Save