[OpenWrt-Devel] [PATCH procd] cmake: use CMAKE_INSTALL_* variables

Felix Fietkau nbd at openwrt.org
Mon Oct 12 09:50:16 EDT 2015


On 2015-09-17 13:54, Sergiy Kibrik wrote:
> Replace hard-coded installation directories with cmake-provided
> variables, which gives more flexibility on where to install
> final binaries. Great simplification for usage with e.g. BitBake recipes.
> 
> Signed-off-by: Sergiy Kibrik <sakib at meta.ua>
Doesn't work for me:

CMake Error at CMakeLists.txt:15 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for shared library target
  "setlbf".


CMake Error at CMakeLists.txt:41 (INSTALL):
  install TARGETS given no RUNTIME DESTINATION for executable target
"procd".


CMake Error at CMakeLists.txt:49 (INSTALL):
  install TARGETS given no RUNTIME DESTINATION for executable target "init".


CMake Error at CMakeLists.txt:55 (INSTALL):
  install TARGETS given no RUNTIME DESTINATION for executable target
  "udevtrigger".


CMake Error at CMakeLists.txt:61 (INSTALL):
  install TARGETS given no RUNTIME DESTINATION for executable target
  "askfirst".


-- Configuring incomplete, errors occurred!
See also "/Users/nbd/procd/CMakeFiles/CMakeOutput.log".

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list