mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
16 lines
314 B
CMake
16 lines
314 B
CMake
set(OSGQT_LIBRARY "osgQt")
|
|
|
|
# Sources
|
|
|
|
set(OSGQT_SOURCE_FILES
|
|
GraphicsWindowQt.cpp
|
|
)
|
|
|
|
add_library(${OSGQT_LIBRARY} STATIC ${OSGQT_SOURCE_FILES})
|
|
|
|
target_link_libraries(${OSGQT_LIBRARY} Qt::Core Qt::OpenGL)
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
set(EXTERN_OSGQT_LIBRARY ${OSGQT_LIBRARY} PARENT_SCOPE)
|