[Bf-blender-cvs] [f43ede3b9da] tmp_openmpfix: Test if double slash is problematic.
Ankit Meel
noreply at git.blender.org
Tue Aug 3 22:30:16 CEST 2021
Commit: f43ede3b9da7fdba33a624aca4d615214762d9f3
Author: Ankit Meel
Date: Wed Aug 4 02:00:08 2021 +0530
Branches: tmp_openmpfix
https://developer.blender.org/rBf43ede3b9da7fdba33a624aca4d615214762d9f3
Test if double slash is problematic.
===================================================================
M build_files/cmake/platform/platform_apple.cmake
===================================================================
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index c18b2225f97..1a185a4dba1 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -411,7 +411,7 @@ if(WITH_OPENMP)
set(OPENMP_FOUND ON)
set(OpenMP_C_FLAGS "-Xclang -fopenmp -I'${LIBDIR}/openmp/include'")
set(OpenMP_CXX_FLAGS "-Xclang -fopenmp -I'${LIBDIR}/openmp/include'")
- set(OpenMP_LIBRARY_DIR "${LIBDIR}/openmp/lib")
+ set(OpenMP_LIBRARY_DIR "${LIBDIR}/openmp/lib/")
set(OpenMP_LINKER_FLAGS "-L'${OpenMP_LIBRARY_DIR}' -lomp")
set(OpenMP_LIBRARY "${OpenMP_LIBRARY_DIR}/libomp.dylib")
endif()
More information about the Bf-blender-cvs
mailing list