3 include_directories("${alsoft-config_BINARY_DIR}")
5 # Need Qt 4.8.0 or newer for the iconset theme attribute to work
6 find_package(Qt4 4.8.0 COMPONENTS QtCore QtGui)
8 include(${QT_USE_FILE})
10 set(alsoft-config_SRCS main.cpp
14 set(alsoft-config_UIS mainwindow.ui)
15 QT4_WRAP_UI(UIS ${alsoft-config_UIS})
17 set(alsoft-config_MOCS mainwindow.h)
18 QT4_WRAP_CPP(MOCS ${alsoft-config_MOCS})
20 add_executable(alsoft-config ${alsoft-config_SRCS} ${UIS} ${RSCS} ${TRS} ${MOCS})
21 target_link_libraries(alsoft-config ${QT_LIBRARIES})
22 set_target_properties(alsoft-config PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR})
24 install(TARGETS alsoft-config
25 RUNTIME DESTINATION bin
26 LIBRARY DESTINATION "lib${LIB_SUFFIX}"
27 ARCHIVE DESTINATION "lib${LIB_SUFFIX}"