Build environment: backport master changes to blender2.7.
[blender.git] / build_files / build_environment / cmake / openmp.cmake
index d8224020ecfa7399fd17ff9d0060a9ff0a84ce16..f9f5a5cfb636a0244e9b243cb8f63d69c98ad874 100644 (file)
@@ -23,8 +23,8 @@ ExternalProject_Add(external_openmp
        URL_HASH MD5=${OPENMP_HASH}
        PREFIX ${BUILD_DIR}/openmp
        CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBDIR}/openmp ${DEFAULT_CMAKE_FLAGS}
-       INSTALL_COMMAND cd ${BUILD_DIR}/openmp/src/external_openmp-build && install_name_tool -id '@executable_path/../Resources/lib/libomp.dylib' runtime/src/libomp.dylib && make install
-       INSTALL_PATH ${LIBDIR}/openmp
+       INSTALL_COMMAND cd ${BUILD_DIR}/openmp/src/external_openmp-build && install_name_tool -id @executable_path/../Resources/lib/libomp.dylib runtime/src/libomp.dylib && make install
+       INSTALL_DIR ${LIBDIR}/openmp
 )
 
 add_dependencies(