mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
10 lines
431 B
CMake
10 lines
431 B
CMake
|
target_sources(obs-studio PRIVATE platform-x11.cpp)
|
||
|
target_compile_definitions(obs-studio PRIVATE OBS_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
|
||
|
target_link_libraries(obs-studio PRIVATE Qt::GuiPrivate procstat)
|
||
|
|
||
|
if(TARGET OBS::python)
|
||
|
find_package(Python REQUIRED COMPONENTS Interpreter Development)
|
||
|
target_link_libraries(obs-studio PRIVATE Python::Python)
|
||
|
target_link_options(obs-studio PRIVATE LINKER:-no-as-needed)
|
||
|
endif()
|