mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 22:49:55 +00:00
15 lines
316 B
CMake
15 lines
316 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} Qt5::Core Qt5::OpenGL)
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
set(EXTERN_OSGQT_LIBRARY ${OSGQT_LIBRARY} PARENT_SCOPE)
|