|
- diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
- index 5c55ff6..b142b70 100644
- --- a/modules/CMakeLists.txt
- +++ b/modules/CMakeLists.txt
- @@ -8,7 +8,7 @@ endif()
- add_subdirectory( mod-script-pipe )
-
-
- -if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
- +if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows" )
- if( NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio*")
- install( DIRECTORY "${_DEST}/modules"
- DESTINATION "${_PKGLIB}" )
- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
- index e4c0f62..8e31f03 100644
- --- a/src/CMakeLists.txt
- +++ b/src/CMakeLists.txt
- @@ -1324,7 +1324,7 @@ if( NOT "${CMAKE_GENERATOR}" MATCHES "Xcode|Visual Studio*" )
- install( TARGETS ${TARGET}
- DESTINATION "."
- RESOURCE DESTINATION "${_APPDIR}/Resources" )
- - else()
- + elseif(NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
- install( TARGETS ${TARGET} RUNTIME )
- install( DIRECTORY "${_DEST}/${_LIBDIR}/"
- DESTINATION "${_LIBDIR}"
|