# Does VTK use a Debug postfix on built libraries

**URL:** <https://discourse.vtk.org/t/does-vtk-use-a-debug-postfix-on-built-libraries/15283>\
**Category:** Development\
**Created:** [February 19, 2025, 8:23pm UTC](https://discourse.vtk.org/t/does-vtk-use-a-debug-postfix-on-built-libraries/15283 "2025-02-19T20:23:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Jackson](https://discourse.vtk.org/user_avatar/discourse.vtk.org/michael_jackson/32/61_2.png) [@Michael\_Jackson](https://discourse.vtk.org/u/Michael_Jackson)\
**Post date:** [February 19, 2025, 8:23pm UTC](https://discourse.vtk.org/t/does-vtk-use-a-debug-postfix-on-built-libraries/15283/1 "2025-02-19T20:23:24Z")

</div>

Is there a CMake option that I can set to attach a debug postfix to the library names so that I can combine debug and release builds under a single install directory?

It looks like there is for Visual Studio builds but not macOS or Linux builds?

---

<div class="post-metadata">

**Author:** ![Michael\_Jackson](https://discourse.vtk.org/user_avatar/discourse.vtk.org/michael_jackson/32/61_2.png) [@Michael\_Jackson](https://discourse.vtk.org/u/Michael_Jackson)\
**Post date:** [February 19, 2025, 8:34pm UTC](https://discourse.vtk.org/t/does-vtk-use-a-debug-postfix-on-built-libraries/15283/2 "2025-02-19T20:34:43Z")

</div>

And to answer my own question: Define CMAKE\_DEBUG\_POSTFIX
