summaryrefslogtreecommitdiffstats
path: root/src/fbgui
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-12-05 15:11:07 +0100
committerSebastian Schmelzer2011-12-05 15:11:07 +0100
commitc9259a2b588e7472b0a131237b39fc99e395e820 (patch)
treeed5b236c0e4f6f6d3cc375996e9ad4cb86aa004e /src/fbgui
parentfinaly clean cmake files (diff)
downloadfbgui-c9259a2b588e7472b0a131237b39fc99e395e820.tar.gz
fbgui-c9259a2b588e7472b0a131237b39fc99e395e820.tar.xz
fbgui-c9259a2b588e7472b0a131237b39fc99e395e820.zip
add cpack stuff
Diffstat (limited to 'src/fbgui')
-rw-r--r--src/fbgui/CMakeLists.txt35
1 files changed, 19 insertions, 16 deletions
diff --git a/src/fbgui/CMakeLists.txt b/src/fbgui/CMakeLists.txt
index 434428f..8b19777 100644
--- a/src/fbgui/CMakeLists.txt
+++ b/src/fbgui/CMakeLists.txt
@@ -14,26 +14,27 @@ endif(QT4_FOUND)
set(QT_USE_QTNETWORK TRUE)
set(QT_USE_QTWEBKIT TRUE)
-file(GLOB FBGUI_SOURCES src/fbgui/*.cpp)
-file(GLOB FBGUI_HEADERS src/fbgui/*.h src/common/*.h)
+file(GLOB FBGUI_SOURCES *.cpp)
+file(GLOB FBGUI_HEADERS *.h ../common/*.h)
file(GLOB FBGUI_MOC_HEADERS
-src/fbgui/downloadmanager.h
-src/fbgui/interfaceconfiguration.h
-src/fbgui/javascriptinterface.h
-src/fbgui/ndgui.h
-src/fbgui/networkdiscovery.h
-src/fbgui/networkmanager.h
-src/fbgui/fbgui.h)
-file(GLOB FBGUI_UIS src/fbgui/*.ui)
-file(GLOB FBGUI_RCS src/fbgui/*.qrc)
+downloadmanager.h
+interfaceconfiguration.h
+javascriptinterface.h
+ndgui.h
+networkdiscovery.h
+networkmanager.h
+fbgui.h)
+file(GLOB FBGUI_UIS *.ui)
+file(GLOB FBGUI_RCS *.qrc)
include_directories(${CMAKE_CURRENT_BINARY_DIR}
/usr/include/
- ${QT_INCLUDES}
- ${LOG4CXX_INCLUDES}
- ${LIBSYSFS_INCLUDES}
- ${LIBNL_INCLUDES}
- ${LIBUSB_INCLUDES}
+ ../customdhcpcd/
+ ${QT_INCLUDE_DIRS}
+ ${LOG4CXX_INCLUDE_DIRS}
+ ${LIBSYSFS_INCLUDE_DIRS}
+ ${LIBNL_INCLUDE_DIRS}
+ ${LIBUSB_INCLUDE_DIRS}
)
include(${QT_USE_FILE})
@@ -62,3 +63,5 @@ target_link_libraries(fbgui
${LIBUSB_LIBRARIES}
customdhcpcd
)
+
+install(TARGETS fbgui RUNTIME DESTINATION bin)