Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1003B

  1. diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
  2. index 5c55ff6..b142b70 100644
  3. --- a/modules/CMakeLists.txt
  4. +++ b/modules/CMakeLists.txt
  5. @@ -8,7 +8,7 @@ endif()
  6. add_subdirectory( mod-script-pipe )
  7. -if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
  8. +if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows" )
  9. if( NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio*")
  10. install( DIRECTORY "${_DEST}/modules"
  11. DESTINATION "${_PKGLIB}" )
  12. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
  13. index e4c0f62..8e31f03 100644
  14. --- a/src/CMakeLists.txt
  15. +++ b/src/CMakeLists.txt
  16. @@ -1324,7 +1324,7 @@ if( NOT "${CMAKE_GENERATOR}" MATCHES "Xcode|Visual Studio*" )
  17. install( TARGETS ${TARGET}
  18. DESTINATION "."
  19. RESOURCE DESTINATION "${_APPDIR}/Resources" )
  20. - else()
  21. + elseif(NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
  22. install( TARGETS ${TARGET} RUNTIME )
  23. install( DIRECTORY "${_DEST}/${_LIBDIR}/"
  24. DESTINATION "${_LIBDIR}"