Skip to content

Commit

Permalink
CMAKE: Fix in tree mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cpyarger authored Mar 3, 2021
1 parent 689666d commit 334a7ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ if(UNIX AND NOT APPLE)
OUTPUT_VARIABLE LSB_RELEASE_ID_SHORT
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if(${CMAKE_INSTALL_PREFIX} STREQUAL "${HOME}/obs-studio-portable")
message(STATUS "in portable mode")
if(COMMAND install_obs_plugin_with_data)
message(STATUS "in tree mode")
elseif(${LSB_RELEASE_ID_SHORT} STREQUAL "Ubuntu")
install(TARGETS obs-midi LIBRARY
DESTINATION "/usr/lib/obs-plugins"
Expand Down

0 comments on commit 334a7ec

Please sign in to comment.