[CMake] CMAKE_CURRENT_LIST_FILE in CMake 2.6.4

pjtr hahn pjtr.hahn at googlemail.com
Fri Jun 19 06:49:24 EDT 2009


Hello,

CMAKE_CURRENT_LIST_FILE used inside a function that is defined in
A.cmake and included and called in B.cmake gives the path of B.cmake
with 2.6.4 instead of A.cmake which was the previous behaviour in
2.6.3 and the behaviour described in the CMake Wiki.

Is this a bug? What is the correct value of CMAKE_CURRENT_LIST_FILE
supposed to be by design?

thanks and regards,

pjtr


More information about the CMake mailing list