364e5a61a9c13b08ffcbf1058de3aad34b1bbd92
[duncan/yast2-qt4.git] / CMakeLists.txt
1 PROJECT(yast2-qt4)
2 SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O3 -Wall -Woverloaded-virtual" )
3 SET( CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   -g -O3 -Wall" )
4
5 SET( PACKAGE "yast2-qt4" )
6
7 FIND_PACKAGE(Qt4 REQUIRED)
8 FIND_PACKAGE(Yast REQUIRED)
9 INCLUDE(YastCommon)
10
11 SET(Y2QT_ICONDIR ${CMAKE_INSTALL_PREFIX}/share/YaST2/theme/current)
12 SET(Y2QT_LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
13 SET(Y2QT_THEMEDIR ${CMAKE_INSTALL_PREFIX}/share/YaST2/theme)
14
15 ADD_SUBDIRECTORY(src)
16