[icinga-checkins] icinga.org: icinga2/feature/check_nscp-12874: Fix Cmake for check_nscp

git at icinga.org git at icinga.org
Fri Oct 14 13:38:58 CEST 2016


Module: icinga2
Branch: feature/check_nscp-12874
Commit: 8eb1983c42ab57bea8259c81e6c11b7fd3703573
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=8eb1983c42ab57bea8259c81e6c11b7fd3703573

Author: Jean Flach <jean-marcel.flach at netways.de>
Date:   Fri Oct 14 13:09:00 2016 +0200

Fix Cmake for check_nscp

refs #12874

---

 plugins/CMakeLists.txt |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index cf1e855..7596693 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -18,6 +18,12 @@
 add_executable ( check_nscp check_nscp.cpp  )
 target_link_libraries ( check_nscp ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SYSTEM_LIBRARY} base remote )
 install ( TARGETS check_nscp RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR} )
+set_target_properties (
+  check_nscp PROPERTIES
+  INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/icinga2
+  DEFINE_SYMBOL I2_PLUGINS_BUILD
+  FOLDER Plugins )
+  install ( TARGETS check_nscp RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR} )
 
 if ( WIN32 )
 



More information about the icinga-checkins mailing list