summaryrefslogtreecommitdiff
path: root/netscsid/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'netscsid/CMakeLists.txt')
-rw-r--r--netscsid/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/netscsid/CMakeLists.txt b/netscsid/CMakeLists.txt
new file mode 100644
index 0000000..f6bddf1
--- /dev/null
+++ b/netscsid/CMakeLists.txt
@@ -0,0 +1,13 @@
+PROJECT (netscsid C)
+INCLUDE_DIRECTORIES(../include ../wodim ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/include)
+INCLUDE(../include/AddScgBits.cmake)
+INCLUDE(../include/AddSchilyBits.cmake)
+INCLUDE(../include/AddNetworkBits.cmake)
+
+LINK_DIRECTORIES(../librols ../libusal )
+ADD_EXECUTABLE (netscsid netscsid.c)
+#SET_SOURCE_FILES_PROPERTIES(netscsid.c )
+TARGET_LINK_LIBRARIES(netscsid ${EXTRA_LIBS} )
+#SET_TARGET_PROPERTIES(netscsid PROPERTIES SKIP_BUILD_RPATH TRUE)
+INSTALL(TARGETS netscsid DESTINATION sbin)
+