# RootMacros.cmake should also support target features for dictionary

**URL:** <https://root-forum.cern.ch/t/rootmacros-cmake-should-also-support-target-features-for-dictionary/42159>\
**Category:** Evolution Proposals, Apps & Ideas\
**Created:** [November 7, 2020, 7:11pm UTC](https://root-forum.cern.ch/t/rootmacros-cmake-should-also-support-target-features-for-dictionary/42159 "2020-11-07T19:11:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![RENATO\_QUAGLIANI](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/renato_quagliani/32/19496_2.png) [@RENATO\_QUAGLIANI](https://root-forum.cern.ch/u/RENATO_QUAGLIANI)\
**Post date:** [January 4, 2021, 6:29pm UTC](https://root-forum.cern.ch/t/rootmacros-cmake-should-also-support-target-features-for-dictionary/42159/5 "2021-01-04T18:29:55Z")

</div>

Hi, sorry to jump in, might be this issue linked to the problems i faced importing the custom libraries into a pyROOT session since ROOT v\>6.20 ?  
I had to hack some stuff, and among all the RPATH settings was a global configuration i had on my CMake setup

> [@CMake project with custom libraries and python bindings](https://root-forum.cern.ch/t/cmake-project-with-custom-libraries-and-python-bindings/42819/14):
>
> Hi @vvassilev, at the end i did several test, which possibly link to some LinkDef issue and header files i am using. I have not managed to get the NO\_CXXMODULE configuration working and also the extra flags -cxxmodule-writeEmptyPCMFiles was not working I ended up having something working fine proceeding as in the zip file for my reduced CMake project creating libraries and used inside python . [for\_root\_forum.zip](https://root-forum.cern.ch/uploads/short-url/g4SuhmZlgejE2hiNmrqhkCZ5O17.zip) (369.9 KB) for each library i have i added #include in the LinkDef.h files for al…

---

_[View the full topic](https://root-forum.cern.ch/t/rootmacros-cmake-should-also-support-target-features-for-dictionary/42159)._
