libftdi Archives

Subject: CPACK_SET_DESTDIR "ON")

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 18 Oct 2011 11:35:16 +0200
Hello,

with or without xantares patch, "make package" tells
CPackRPM:Warning: CPACK_SET_DESTDIR is set (=ON) while requesting a relocatable 
package (CPACK_RPM_PACKAGE_RELOCATABLE is set): this is not supported, the 
package won't be relocatable.
CPackRPM: Will use GENERATED spec file: 
/spare/bon/ftdi/libftdi-1.0/build/_CPack_Packages/Linux/RPM/SPECS/libftdi.spec
CPack: - package: /spare/bon/ftdi/libftdi-1.0/build/libftdi-0.99.x86_64.rpm 
generated.
he

If I drop
# Subdirectories
if(${UNIX})
  set(CPACK_SET_DESTDIR "ON")
endif(${UNIX})

the warning hoes away. Can we safely drop it?

Bye

-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread