# Recent change to vxl\_config.h installation location?

**URL:** <https://discourse.itk.org/t/recent-change-to-vxl-config-h-installation-location/636>\
**Category:** Engineering\
**Created:** [January 30, 2018, 8:31pm UTC](https://discourse.itk.org/t/recent-change-to-vxl-config-h-installation-location/636 "2018-01-30T20:31:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanm](https://discourse.itk.org/letter_avatar_proxy/v4/letter/s/a88e4f/32.png) [@seanm](https://discourse.itk.org/u/seanm)\
**Post date:** [January 30, 2018, 8:31pm UTC](https://discourse.itk.org/t/recent-change-to-vxl-config-h-installation-location/636/1 "2018-01-30T20:31:19Z")

</div>

Hi all,

ITK master was working for me about a week ago. Now I’ve updated and rebuilt and it seems that vxl\_config.h is no longer installed in include/ITK-5.0 but rather in include/vxl/core.

I assume that’s a bug, yes?

Thanks,

Sean

---

<div class="post-metadata">

**Author:** ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Post date:** [January 30, 2018, 8:35pm UTC](https://discourse.itk.org/t/recent-change-to-vxl-config-h-installation-location/636/2 "2018-01-30T20:35:01Z")

</div>

I was just working on it. This is what I am currently testing:

```auto
--- a/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt
+++ b/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt
@@ -9,12 +9,6 @@ doxygen_add_package(core-L2 "Level-2 Vision Libraries")
 doxygen_add_package(core-L2E "Level-2 Vision Libraries (Experimental)")
 doxygen_add_package(core-test "Test Framework")
 
-#
-# Do platform-specific configuration.
-# configure files
-#
-vxl_configure_file(${CMAKE_CURRENT_LIST_DIR}/vxl_config.h.in ${PROJECT_BINARY_DIR}/vxl_config.h include/vxl/core)
-include_directories(${PROJECT_BINARY_DIR})
 
 set(global_sources
  vxl_copyright.h
@@ -28,6 +22,13 @@ else()
 endif()
 INSTALL_NOBASE_HEADER_FILES(${prefix} ${global_sources})
 
+#
+# Do platform-specific configuration.
+# configure files
+#
+vxl_configure_file(${CMAKE_CURRENT_LIST_DIR}/vxl_config.h.in ${PROJECT_BINARY_DIR}/vxl_config.h ${prefix})
+include_directories(${PROJECT_BINARY_DIR})
+
 if(BUILD_CORE_UTILITIES)
   # POSIX layer
   add_subdirectory(vpl)

```

---

<div class="post-metadata">

**Author:** ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Post date:** [January 30, 2018, 9:15pm UTC](https://discourse.itk.org/t/recent-change-to-vxl-config-h-installation-location/636/3 "2018-01-30T21:15:11Z")

</div>

Thank seemed to work. So I have proposed the patch:  
[http://review.source.kitware.com/#/c/23126/1](http://review.source.kitware.com/#/c/23126/1)
