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
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2012-11-09 22:31:04 +0400
committerThomas Dinges <blender@dingto.org>2012-11-09 22:31:04 +0400
commit46dd1a9167dd55eb6153fb96ae32a465fa8aae16 (patch)
tree4498eaf9541751a00d2041e6df7a2b6949aaa021 /intern
parentb5553f006fbb75e57c052c4a04b1a4e4358ea7ba (diff)
Cycles / CMake:
* Removed PARTIO building code, partio code was removed already. * Include "app" dir only when building with CYCLES_TEST enabled.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/CMakeLists.txt9
-rw-r--r--intern/cycles/app/CMakeLists.txt4
-rw-r--r--intern/cycles/cmake/external_libs.cmake27
3 files changed, 4 insertions, 36 deletions
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
index 7562ee0a0a5..7495a98aed1 100644
--- a/intern/cycles/CMakeLists.txt
+++ b/intern/cycles/CMakeLists.txt
@@ -44,10 +44,6 @@ if(WITH_CYCLES_OSL)
include_directories(${OSL_INCLUDES})
endif()
-if(WITH_CYCLES_PARTIO)
- add_definitions(-DWITH_PARTIO)
-endif()
-
if(WITH_CYCLES_CUDA_BINARIES)
add_definitions(-DWITH_CUDA_BINARIES)
endif()
@@ -69,7 +65,10 @@ if(WITH_CYCLES_BLENDER)
add_subdirectory(blender)
endif()
-add_subdirectory(app)
+if(WITH_CYCLES_TEST)
+ add_subdirectory(app)
+endif()
+
add_subdirectory(bvh)
add_subdirectory(device)
add_subdirectory(doc)
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt
index 83b3f731ffe..3fb8aaf934f 100644
--- a/intern/cycles/app/CMakeLists.txt
+++ b/intern/cycles/app/CMakeLists.txt
@@ -35,10 +35,6 @@ if(WITH_CYCLES_OSL)
list(APPEND LIBRARIES cycles_kernel_osl ${OSL_LIBRARIES})
endif()
-if(WITH_CYCLES_PARTIO)
- list(APPEND LIBRARIES ${PARTIO_LIBRARIES})
-endif()
-
include_directories(${INC})
include_directories(SYSTEM ${INC_SYS})
diff --git a/intern/cycles/cmake/external_libs.cmake b/intern/cycles/cmake/external_libs.cmake
index 332d3d74715..790049898ff 100644
--- a/intern/cycles/cmake/external_libs.cmake
+++ b/intern/cycles/cmake/external_libs.cmake
@@ -18,33 +18,6 @@ else()
endif()
###########################################################################
-# Partio
-
-if(WITH_CYCLES_PARTIO)
-
- set(CYCLES_PARTIO "" CACHE PATH "Path to Partio installation")
-
- message(STATUS "CYCLES_PARTIO = ${CYCLES_PARTIO}")
-
- find_library(PARTIO_LIBRARIES NAMES partio PATHS ${CYCLES_PARTIO}/lib)
- find_path(PARTIO_INCLUDES Partio.h ${CYCLES_PARTIO}/include)
-
- find_package(ZLIB)
-
- if(PARTIO_INCLUDES AND PARTIO_LIBRARIES AND ZLIB_LIBRARIES)
- list(APPEND PARTIO_LIBRARIES ${ZLIB_LIBRARIES})
- set(PARTIO_FOUND TRUE)
- message(STATUS "PARTIO includes = ${PARTIO_INCLUDES}")
- message(STATUS "PARTIO library = ${PARTIO_LIBRARIES}")
- else()
- message(STATUS "PARTIO not found")
- endif()
-
- include_directories(${PARTIO_INCLUDES})
-
-endif()
-
-###########################################################################
# CUDA
if(WITH_CYCLES_CUDA_BINARIES)