21 lines
648 B
Diff
Executable File
21 lines
648 B
Diff
Executable File
diff --git a/opensubdiv/CMakeLists.txt b/opensubdiv/CMakeLists.txt
|
|
index 72c5b7e..ca24488 100644
|
|
--- a/opensubdiv/CMakeLists.txt
|
|
+++ b/opensubdiv/CMakeLists.txt
|
|
@@ -124,6 +124,7 @@ if (NOT NO_LIB)
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
+ if (NOT BUILD_SHARED_LIBS)
|
|
# Build static libs ------------------------------------
|
|
add_library(osd_static_cpu
|
|
STATIC
|
|
@@ -146,6 +147,7 @@ if (NOT NO_LIB)
|
|
)
|
|
|
|
install( TARGETS osd_static_cpu DESTINATION "${CMAKE_LIBDIR_BASE}" )
|
|
+ endif()
|
|
|
|
if( OSD_GPU )
|
|
# this macro uses FindCUDA.cmake to compile .cu kernel files
|