Skip to content

Commit

Permalink
linux fixes?
Browse files Browse the repository at this point in the history
  • Loading branch information
cpyarger authored Feb 13, 2021
1 parent 61c9f70 commit 36fa301
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,23 @@ include_directories(
${Qt5Core_INCLUDES}
${Qt5Widgets_INCLUDES}
"${CMAKE_SOURCE_DIR}/deps/asio/asio/include")
target_link_libraries(obs-midi
"${OBS_FRONTEND_LIB}"
${obs-midi_DEPS}
Qt5::Core
Qt5::Widgets
libobs)
if(LINUX)
include_directories(/usr/include/obs)
target_link_libraries(obs-midi
"${OBS_FRONTEND_LIB}"
${obs-midi_DEPS}
Qt5::Core
Qt5::Widgets
libobs.so)

else()
target_link_libraries(obs-midi
"${OBS_FRONTEND_LIB}"
${obs-midi_DEPS}
Qt5::Core
Qt5::Widgets
libobs)
endif()
# --- Windows-specific build settings and tasks ---
if(WIN32)
if(NOT DEFINED OBS_FRONTEND_LIB)
Expand Down

0 comments on commit 36fa301

Please sign in to comment.