Skip to content

Commit

Permalink
Remove QT5 flags
Browse files Browse the repository at this point in the history
Fix a regression caused by LMMS#4041, closes LMMS#4077
  • Loading branch information
tresf committed Jan 2, 2018
1 parent ab2cc42 commit 5c3c052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/vst_base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/src/3rdparty/qt5-x11embed/src/")
ADD_DEFINITIONS(-DREMOTE_VST_PLUGIN_FILEPATH="${REMOTE_VST_PLUGIN_FILEPATH}")
BUILD_PLUGIN(vstbase vst_base.cpp VstPlugin.cpp VstPlugin.h communication.h MOCFILES VstPlugin.h)

IF(LMMS_BUILD_LINUX AND WANT_QT5)
IF(LMMS_BUILD_LINUX)
TARGET_LINK_LIBRARIES(vstbase qx11embedcontainer)
ENDIF()

Expand Down
2 changes: 1 addition & 1 deletion src/3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(CMAKE_C_FLAGS "")
set(CMAKE_CXX_FLAGS "")

IF(QT5 AND LMMS_BUILD_LINUX)
IF(LMMS_BUILD_LINUX)
set(BUILD_SHARED_LIBS OFF)
add_subdirectory(qt5-x11embed)
ENDIF()
Expand Down

0 comments on commit 5c3c052

Please sign in to comment.