Cleanup: whitespace (CMake)
authorCampbell Barton <ideasman42@gmail.com>
Sat, 18 Jul 2015 08:21:17 +0000 (18:21 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 18 Jul 2015 08:42:35 +0000 (18:42 +1000)
CMakeLists.txt
intern/cycles/CMakeLists.txt
source/blender/python/intern/CMakeLists.txt

index 8e84b31ecc9c1157f748f70a7184b7c8310b09b3..e214b23a5dbd0848adc1d64ba27b1af9e0da5f80 100644 (file)
@@ -1063,9 +1063,9 @@ if(UNIX AND NOT APPLE)
        endif()
 
        if(WITH_LLVM)
-       find_package_wrapper(LLVM)
+               find_package_wrapper(LLVM)
 
-       if(NOT LLVM_FOUND)
+               if(NOT LLVM_FOUND)
                        set(WITH_LLVM OFF)
                        message(STATUS "LLVM not found")
                endif()
index ed6961f49e0c3d18afc7bc59a2e31a36fd8ac4f0..acd6cd69329d55d77a13256346ffb397e4e844d7 100644 (file)
@@ -154,23 +154,23 @@ add_definitions(
 
 TEST_UNORDERED_MAP_SUPPORT()
 if(HAVE_STD_UNORDERED_MAP_HEADER)
-    if(HAVE_UNORDERED_MAP_IN_STD_NAMESPACE)
-        add_definitions(-DCYCLES_STD_UNORDERED_MAP)
-    else()
-        if(HAVE_UNORDERED_MAP_IN_TR1_NAMESPACE)
-            add_definitions(-DCYCLES_STD_UNORDERED_MAP_IN_TR1_NAMESPACE)
-        else()
-            add_definitions(-DCYCLES_NO_UNORDERED_MAP)
-            message(STATUS "Replacing unordered_map/set with map/set (warning: slower!)")
-        endif()
-    endif()
+       if(HAVE_UNORDERED_MAP_IN_STD_NAMESPACE)
+               add_definitions(-DCYCLES_STD_UNORDERED_MAP)
+       else()
+               if(HAVE_UNORDERED_MAP_IN_TR1_NAMESPACE)
+                       add_definitions(-DCYCLES_STD_UNORDERED_MAP_IN_TR1_NAMESPACE)
+               else()
+                       add_definitions(-DCYCLES_NO_UNORDERED_MAP)
+                       message(STATUS "Replacing unordered_map/set with map/set (warning: slower!)")
+               endif()
+       endif()
 else()
-    if(HAVE_UNORDERED_MAP_IN_TR1_NAMESPACE)
-        add_definitions(-DCYCLES_TR1_UNORDERED_MAP)
-    else()
-        add_definitions(-DCYCLES_NO_UNORDERED_MAP)
-        message(STATUS "Replacing unordered_map/set with map/set (warning: slower!)")
-    endif()
+       if(HAVE_UNORDERED_MAP_IN_TR1_NAMESPACE)
+               add_definitions(-DCYCLES_TR1_UNORDERED_MAP)
+       else()
+               add_definitions(-DCYCLES_NO_UNORDERED_MAP)
+               message(STATUS "Replacing unordered_map/set with map/set (warning: slower!)")
+       endif()
 endif()
 
 # Logging capabilities using GLog library.
index ed04152182eefe609691c9ac920d0e3fab8e31cc..7c58c1158c10eb247520b00080c1ae42e5b2f26f 100644 (file)
@@ -225,7 +225,7 @@ if(WITH_SDL_DYNLOAD)
        list(APPEND INC
                ../../../../extern/sdlew/include
        )
-    add_definitions(-DWITH_SDL_DYNLOAD)
+       add_definitions(-DWITH_SDL_DYNLOAD)
 endif()
 
 if(WITH_JACK)