Use @VAR@ syntax in the file, else cmake complaints
This commit is contained in:
parent
de745731df
commit
c6ecc4a1d4
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
ATTRS{idVendor}=="1781", SUBSYSTEM=="usb", ACTION=="add", MODE="664", GROUP="plugdev", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="${CMAKE_INSTALL_PREFIX}/share/telldus-core/helpers/udev.sh"
|
||||
ENV{ID_VENDOR_ID}=="1781", SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="${CMAKE_INSTALL_PREFIX}/share/telldus-core/helpers/udev.sh"
|
||||
ATTRS{idVendor}=="1781", SUBSYSTEM=="usb", ACTION=="add", MODE="664", GROUP="plugdev", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="@CMAKE_INSTALL_PREFIX@/share/telldus-core/helpers/udev.sh"
|
||||
ENV{ID_VENDOR_ID}=="1781", SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="@CMAKE_INSTALL_PREFIX@/share/telldus-core/helpers/udev.sh"
|
||||
|
||||
|
|
|
@ -63,6 +63,7 @@ IF (UNIX AND NOT APPLE)
|
|||
CONFIGURE_FILE(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/05-tellstick.rules
|
||||
${CMAKE_BINARY_DIR}/parsed/05-tellstick.rules
|
||||
@ONLY
|
||||
)
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/udev.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue