Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 039a745070d..26e0a3f1379 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2468,7 +2468,7 @@ if(WITH_OPENMP)
# since they're passed to the linker as well.
add_definitions("${OpenMP_C_FLAGS}")
- find_library_static(OpenMP_LIBRARIES gomp)
+ find_library_static(OpenMP_LIBRARIES gomp ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES})
endif()
else()
set(WITH_OPENMP OFF)