a838be21ce
Nipper enables network administrators, security professionals and auditors to quickly produce reports on key network infrastructure devices. tested by rui and Nigel J. Taylor ok rui@
19 lines
721 B
Plaintext
19 lines
721 B
Plaintext
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2008/09/20 20:28:02 steven Exp $
|
|
--- CMakeLists.txt.orig Sat Aug 30 19:06:30 2008
|
|
+++ CMakeLists.txt Fri Sep 19 07:54:05 2008
|
|
@@ -2,10 +2,12 @@ PROJECT(nipper-cli)
|
|
|
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
|
|
|
|
+INCLUDE_DIRECTORIES(${LOCALBASE}/include)
|
|
+LINK_DIRECTORIES(${LOCALBASE}/lib)
|
|
ADD_EXECUTABLE(nipper-cli nipper.cpp)
|
|
SET_TARGET_PROPERTIES(nipper-cli PROPERTIES OUTPUT_NAME "nipper")
|
|
TARGET_LINK_LIBRARIES(nipper-cli nipper)
|
|
|
|
# Install...
|
|
-INSTALL(TARGETS nipper-cli DESTINATION /usr/bin)
|
|
-INSTALL(FILES man/nipper.1 DESTINATION /usr/share/man/man1)
|
|
+INSTALL(TARGETS nipper-cli DESTINATION ${LOCALBASE}/bin)
|
|
+INSTALL(FILES man/nipper.1 DESTINATION ${LOCALBASE}/man/man1)
|