Explorar el Código

Fix file path of default file in postinstall

tags/1.2
bjoe2k4 hace 10 años
padre
commit
32d2cd0abd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      postinstall.cmake.in

+ 1
- 1
postinstall.cmake.in Ver fichero

@@ -15,7 +15,7 @@ if(CHROOT_DIR AND NOT EXISTS "$ENV{DESTDIR}${CHROOT_DIR}")
15 15
 endif()
16 16
 
17 17
 if(INIT_FLAVOR AND NOT EXISTS "$ENV{DESTDIR}${CONFIG_DIR}/@PROJECT_NAME@")
18
-	file(INSTALL FILES "@CMAKE_CURRENT_SOURCE_DIR@/@PROJECT_NAME@.default" DESTINATION "${CONFIG_DIR}" RENAME "@PROJECT_NAME@")
18
+	file(INSTALL FILES "@CMAKE_CURRENT_BINARY_DIR@/@PROJECT_NAME@.default" DESTINATION "${CONFIG_DIR}" RENAME "@PROJECT_NAME@")
19 19
 endif()
20 20
 
21 21
 if(INIT_FLAVOR STREQUAL "sysv-lsb")

Loading…
Cancelar
Guardar