12345678910111213141516171819 |
- IF(LMMS_BUILD_WIN64)
- ADD_SUBDIRECTORY(RemoteVstPlugin)
- ELSEIF(LMMS_BUILD_LINUX)
- INCLUDE(CheckWineGcc)
- CheckWineGcc(64 "${WINEGCC}" WINEGCC_WORKING)
- IF(NOT WINEGCC_WORKING)
- MESSAGE(WARNING "winegcc fails to compile 64-bit binaries, please make sure you have 64-bit GCC libraries")
- RETURN()
- ENDIF()
- ExternalProject_Add(RemoteVstPlugin64
- "${EXTERNALPROJECT_ARGS}"
- CMAKE_ARGS
- "${EXTERNALPROJECT_CMAKE_ARGS}"
- "-DCMAKE_CXX_COMPILER=${WINEGCC}"
- "-DCMAKE_CXX_FLAGS=-m64"
- )
- INSTALL(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/../RemoteVstPlugin64" "${CMAKE_CURRENT_BINARY_DIR}/../RemoteVstPlugin64.exe.so" DESTINATION "${PLUGIN_DIR}")
- ENDIF()
|