CMakeLists.txt 536 B

123456789101112131415
  1. IF(LMMS_SUPPORT_VST)
  2. INCLUDE(BuildPlugin)
  3. LINK_DIRECTORIES("${CMAKE_CURRENT_BINARY_DIR}/..")
  4. IF(LMMS_BUILD_LINUX)
  5. LINK_LIBRARIES(-Wl,--enable-new-dtags)
  6. SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
  7. SET(CMAKE_INSTALL_RPATH "$ORIGIN")
  8. ELSE()
  9. SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${PLUGIN_DIR}")
  10. ENDIF()
  11. BUILD_PLUGIN(vestige vestige.cpp vestige.h MOCFILES vestige.h EMBEDDED_RESOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.png")
  12. TARGET_LINK_LIBRARIES(vestige vstbase)
  13. ENDIF(LMMS_SUPPORT_VST)