Hi!
i would like to install files with generator expressions. I define a variable with my qt install files.
These looks like this:
QT_INSTALL_FILES $<$<CONFIG:Debug>:/home/src/qt/486-64-dbg/lib/libQtCore-486-ubgcc482x64.so.4>;$<$<CONFIG:Release>:/home/src/qt/486-64-dbg/lib/libQtCore-486-ubgcc482x64.so.4>;$<$<CONFIG:Debug>:/home/src/qt/486-64-dbg/lib/libQtXml-486-ubgcc482x64.so.4>;$<$<CONFIG:Release>:/home/src/qt/486-64-dbg/lib/libQtXml-486-ubgcc482x64.so.4>;/home/src/s4_branch/s4/src/procitec/src/tools/internal/genmaw/$<$<CONFIG:Debug>:/home/src/qt/486-64-dbg/lib/libQtCore-486-ubgcc482x64.so.4>;/home/src/s4_branch/s4/src/procitec/src/tools/internal/genmaw/$<$<CONFIG:Release>:/home/src/qt/486-64-dbg/lib/libQtCore-486-ubgcc482x64.so.4>;/home/src/s4_branch/s4/src/procitec/src/tools/internal/genmaw/$<$<CONFIG:Debug>:/home/src/qt/486-64-dbg/lib/libQtXml-486-ubgcc482x64.so.4>;/home/src/s4_branch/s4/src/procitec/src/tools/internal/genmaw/$<$<CONFIG:Release>:/home/src/qt/486-64-dbg/lib/libQtXml-486-ubgcc482x64.so.4>
If i now install, cmake prepends the CMAKE_CURRENT_SOURCE_DIR to the files and fails with "cannot find file /my/current/source/dir/home/...."
Why is the file detected as "full" path?
Environment is unix and cmake 3.0, generator is unix makefiles
Thanks for any help
Joerg
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQKitware offers various services to support the CMake community. For more information on each offering, please visit:
CMake Support:
http://cmake.org/cmake/help/support.htmlCMake Consulting:
http://cmake.org/cmake/help/consulting.htmlCMake Training Courses:
http://cmake.org/cmake/help/training.htmlVisit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.htmlFollow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake