fixes issue 1056
fixes issue 1056

Handle CMAKE_CURRENT_LIST_DIR not being defined (it was added in CMake
2.8.3).  Also do not try to set the dynamic-scope cur-list-dir property
statically.

SVN-Revision: 1830

bl4ckic3/dynamorio,daksunt/dynamorio,code4bones/dynamorio,code4bones/dynamorio,bl4ckic3/dynamorio,sigma-random/dynamorio,sigma-random/dynamorio,AmesianX/dynamorio,code4bones/dynamorio,daksunt/dynamorio,daksunt/dynamorio,bl4ckic3/dynamorio,AmesianX/dynamorio,bl4ckic3/dynamorio,sigma-random/dynamorio,code4bones/dynamorio,AmesianX/dynamorio,daksunt/dynamorio,sigma-random/dynamorio,bl4ckic3/dynamorio,AmesianX/dynamorio,daksunt/dynamorio,AmesianX/dynamorio,code4bones/dynamorio,sigma-random/dynamorio