What I want to do is to create a CMakeLists.txt that defines a convenience macro to use in parent scope. I can use the macro just fine. However, I used the ${
CMakeLists.txt
${
Use CMAKE_SOURCE_DIR to get a path to outermost parent CMakeLists.txt.