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:
Diffstat (limited to 'intern/cycles/CMakeLists.txt')
-rw-r--r--intern/cycles/CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
index 4facb8d4ff9..2ba6af48d0d 100644
--- a/intern/cycles/CMakeLists.txt
+++ b/intern/cycles/CMakeLists.txt
@@ -179,10 +179,11 @@ include_directories(
${PUGIXML_INCLUDE_DIR}
)
-# TODO(sergey): Adjust so standalone repository is also happy.
-include_directories(
- ../atomic
-)
+if(CYCLES_STANDALONE_REPOSITORY)
+ include_directories(../third_party/atomic)
+else()
+ include_directories(../atomic)
+endif()
# Warnings
if(CMAKE_COMPILER_IS_GNUCXX)