# Should I enable or disable the VTK\_USE\_SYSTEM\_\* options when using cmake to config vtk.

**URL:** https://discourse.vtk.org/t/should-i-enable-or-disable-the-vtk-use-system-options-when-using-cmake-to-config-vtk/3166
**Category:** Support
**Created:** [April 27, 2020, 11:30pm UTC](https://discourse.vtk.org/t/should-i-enable-or-disable-the-vtk-use-system-options-when-using-cmake-to-config-vtk/3166 "2020-04-27T23:30:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Hongyi\_Zhao](https://discourse.vtk.org/user_avatar/discourse.vtk.org/hongyi_zhao/32/1695_2.png) [@Hongyi\_Zhao](https://discourse.vtk.org/u/Hongyi_Zhao)
#### Post date: [April 27, 2020, 11:30pm UTC](https://discourse.vtk.org/t/should-i-enable-or-disable-the-vtk-use-system-options-when-using-cmake-to-config-vtk/3166/1 "2020-04-27T23:30:32Z")

</div>

Hi,

There are many VTK\_USE\_SYSTEM\_\* options when compiling vtk, say the following ones:

```
-DVTK_USE_SYSTEM_LIBRARIES=ON \
-DVTK_USE_SYSTEM_LIBPROJ4=OFF \
-DVTK_USE_SYSTEM_GL2PS=OFF \
-DVTK_USE_SYSTEM_LIBHARU=OFF \
-DVTK_USE_SYSTEM_PUGIXML=OFF \

```

As a general rule, should I enable or disable them when using cmake to do the config?

Regards

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [April 27, 2020, 11:44pm UTC](https://discourse.vtk.org/t/should-i-enable-or-disable-the-vtk-use-system-options-when-using-cmake-to-config-vtk/3166/2 "2020-04-27T23:44:13Z")

</div>

As a general rule, if you are not sure that you need to change a build option then leave it at its default value.

---

<div class="post-metadata">

### Author: ![Hongyi\_Zhao](https://discourse.vtk.org/user_avatar/discourse.vtk.org/hongyi_zhao/32/1695_2.png) [@Hongyi\_Zhao](https://discourse.vtk.org/u/Hongyi_Zhao)
#### Post date: [April 27, 2020, 11:54pm UTC](https://discourse.vtk.org/t/should-i-enable-or-disable-the-vtk-use-system-options-when-using-cmake-to-config-vtk/3166/3 "2020-04-27T23:54:21Z")

</div>

Andras Lasso via VTK [noreply@discourse.vtk.org](mailto:noreply@discourse.vtk.org) 于2020年4月28日周二 上午7:44写道：

> As a general rule, if you are not sure that you need to change a build option then leave it at its default value.

Thanks a lot.
