From f8a499b596b8af46201b86a30c9807ca54363e25 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 13 Aug 2018 12:21:29 +0200 Subject: OpenSubdiv: Add stub implementation of C-API C-API is way smaller than the rest of the code which uses it. So better to conditionally compile stub implementation than to keep adding ifdef everywhere. --- intern/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'intern/CMakeLists.txt') diff --git a/intern/CMakeLists.txt b/intern/CMakeLists.txt index 1459100d415..c7f0f414fb1 100644 --- a/intern/CMakeLists.txt +++ b/intern/CMakeLists.txt @@ -31,6 +31,7 @@ add_subdirectory(guardedalloc) add_subdirectory(libmv) add_subdirectory(memutil) add_subdirectory(opencolorio) +add_subdirectory(opensubdiv) add_subdirectory(mikktspace) add_subdirectory(glew-mx) add_subdirectory(eigen) @@ -71,10 +72,6 @@ if(WITH_BULLET) add_subdirectory(rigidbody) endif() -if(WITH_OPENSUBDIV) - add_subdirectory(opensubdiv) -endif() - # only windows needs utf16 converter if(WIN32) add_subdirectory(utfconv) -- cgit v1.2.3