I found out it's not TARGETS, but DESTINATION that matters for
CPACK_NSIS_MODIFY_PATH to work. When I set DESTINATION to bin rather
than libW32, it's added to Windows PATH without a problem. That's really
strange.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake