File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,11 +40,12 @@ option(PARTIO_ORIGIN_RPATH "Enable ORIGIN rpath in the installed libraries" OFF)
4040
4141if (WIN32 OR APPLE )
4242 option (PARTIO_USE_GLVND "Use GLVND for OpenGL" OFF )
43- option (PARTIO_BUILD_SHARED_LIBS "Enabled shared libraries" OFF )
43+ option (PARTIO_BUILD_SHARED_LIBS "Enable shared libraries" OFF )
4444else ()
4545 option (PARTIO_USE_GLVND "Use GLVND for OpenGL" ON )
46- option (PARTIO_BUILD_SHARED_LIBS "Enabled shared libraries" ON )
46+ option (PARTIO_BUILD_SHARED_LIBS "Enable shared libraries" ON )
4747endif ()
48+ option (PARTIO_BUILD_TOOLS "Enable partio's CLI tools" ON )
4849
4950# Enable C++11
5051if (DEFINED ENV{CXXFLAGS_STD})
@@ -133,7 +134,9 @@ endif()
133134
134135## Traverse subdirectories
135136add_subdirectory (src/lib )
136- add_subdirectory (src/tools )
137+ if (PARTIO_BUILD_TOOLS)
138+ add_subdirectory (src/tools )
139+ endif ()
137140add_subdirectory (src/py )
138141add_subdirectory (src/doc )
139142
You can’t perform that action at this time.
0 commit comments