1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/launcher/CMakeLists.txt
Pieter van der Kloet 7747c78584 Fixed the use of path.hpp, which is in a CMake component now
Also fixed some leftover lines from a wrongly modified conflict
2011-04-28 22:23:42 +02:00

54 lines
807 B
CMake

set(LAUNCHER
datafilespage.cpp
lineedit.cpp
main.cpp
maindialog.cpp
playpage.cpp
datafilespage.hpp
lineedit.hpp
maindialog.hpp
playpage.hpp
combobox.hpp
)
set(MOC_HDRS
datafilespage.hpp
lineedit.hpp
maindialog.hpp
playpage.hpp
combobox.hpp
)
find_package(Qt4 REQUIRED)
set(QT_USE_QTGUI 1)
QT4_ADD_RESOURCES(RCC_SRCS resources.qrc)
QT4_WRAP_CPP(MOC_SRCS ${MOC_HDRS})
include(${QT_USE_FILE})
# Main executable
add_executable(launcher
${LAUNCHER}
${MISC} ${MISC_HEADER}
${FILES} ${FILES_HEADER}
${TO_UTF8}
${ESM}
${RCC_SRCS}
${MOC_SRCS}
)
target_link_libraries(launcher
${Boost_LIBRARIES}
${OGRE_LIBRARIES}
${QT_LIBRARIES}
)
#if (APPLE)
# find_library(CARBON_FRAMEWORK Carbon)
# target_link_libraries(openmw ${CARBON_FRAMEWORK})
#endif (APPLE)