diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-08-13 13:21:29 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-08-13 13:37:18 +0300 |
commit | f8a499b596b8af46201b86a30c9807ca54363e25 (patch) | |
tree | 8ce53c7fb9c598deda0141f3eecf7d316b8c24b1 /intern/CMakeLists.txt | |
parent | 33fbc4fbea14a17d71eacf2c152d51518737df35 (diff) |
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.
Diffstat (limited to 'intern/CMakeLists.txt')
-rw-r--r-- | intern/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
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) |