Files
megasource/libs/openal-soft-1.15.1-29e0af5ef052/utils/alsoft-config/CMakeLists.txt
T
rude c3a7263a78 Add OpenAL-soft 29e0af5ef052a3602f9b7935d6002c6d2ae5e8cb.
Needed because of race condition fix in mmdevapi backend.
2014-02-13 20:32:37 +01:00

30 lines
924 B
CMake

project(alsoft-config)
include_directories("${alsoft-config_BINARY_DIR}")
# Need Qt 4.8.0 or newer for the iconset theme attribute to work
find_package(Qt4 4.8.0 COMPONENTS QtCore QtGui)
if(QT4_FOUND)
include(${QT_USE_FILE})
set(alsoft-config_SRCS main.cpp
mainwindow.cpp
)
set(alsoft-config_UIS mainwindow.ui)
QT4_WRAP_UI(UIS ${alsoft-config_UIS})
set(alsoft-config_MOCS mainwindow.h)
QT4_WRAP_CPP(MOCS ${alsoft-config_MOCS})
add_executable(alsoft-config ${alsoft-config_SRCS} ${UIS} ${RSCS} ${TRS} ${MOCS})
target_link_libraries(alsoft-config ${QT_LIBRARIES})
set_target_properties(alsoft-config PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OpenAL_BINARY_DIR})
install(TARGETS alsoft-config
RUNTIME DESTINATION bin
LIBRARY DESTINATION "lib${LIB_SUFFIX}"
ARCHIVE DESTINATION "lib${LIB_SUFFIX}"
)
endif()