diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-01 21:29:26 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-01 21:29:26 +0300 |
commit | a577499c7521c5fcfaefd58ec1d8940886563adc (patch) | |
tree | 99282a1d920bd693933efeac4d69a6807bd0e974 /build_files/cmake/platform | |
parent | d16386e50bc104f9446a30e041a7b74f38b51ae9 (diff) | |
parent | 4c3be0bf52292add5cdf23be5f4affb76f1b747d (diff) |
Merge branch 'blender2.7'
Diffstat (limited to 'build_files/cmake/platform')
-rw-r--r-- | build_files/cmake/platform/platform_apple.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake index 6c0257b10a0..56ec5ad0df9 100644 --- a/build_files/cmake/platform/platform_apple.cmake +++ b/build_files/cmake/platform/platform_apple.cmake @@ -389,9 +389,9 @@ if(WITH_OPENMP) message(STATUS "Using ${LIBDIR}/openmp for OpenMP") set(OPENMP_CUSTOM ON) 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(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${LIBDIR}/openmp/lib -lomp") + set(OpenMP_C_FLAGS "-Xclang -fopenmp -I\"${LIBDIR}/openmp/include\"") + set(OpenMP_CXX_FLAGS "-Xclang -fopenmp -I\"${LIBDIR}/openmp/include\"") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L\"${LIBDIR}/openmp/lib\" -lomp") # Copy libomp.dylib to allow executables like datatoc to work. if(CMAKE_MAKE_PROGRAM MATCHES "xcodebuild") |