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

git at icinga.org git at icinga.org
Fri Oct 14 15:55:38 CEST 2016


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

Author: Jean Flach <jean-marcel.flach at netways.de>
Date:   Fri Oct 14 15:50:39 2016 +0200

Fix CMake

refs #12874

---

 plugins/CMakeLists.txt |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 7596693..b7f1805 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -17,13 +17,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} )
+install ( TARGETS check_nscp RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR} )
 
 if ( WIN32 )
 



More information about the icinga-checkins mailing list