File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
4848 set (mytarget package)
4949 endif ()
5050 if (BUILD_MPI)
51- if (USE_MSMPI)
51+ if (USE_MSMPI AND CMAKE_CROSSCOMPILING )
5252 add_custom_target (${mytarget} ${MAKENSIS_PATH} -V1 -DVERSION=${LAMMPS_VERSION} -MSMPI aeamplugin.nsis
5353 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
5454 DEPENDS aeamplugin ${CMAKE_BINARY_DIR} /lammps.ico ${CMAKE_BINARY_DIR} /lammps-text-logo-wide.bmp ${CMAKE_BINARY_DIR} /aeamplugin.nsis
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
4848 set (mytarget package)
4949 endif ()
5050 if (BUILD_MPI)
51- if (USE_MSMPI)
51+ if (USE_MSMPI AND CMAKE_CROSSCOMPILING )
5252 add_custom_target (${mytarget} ${MAKENSIS_PATH} -V1 -DVERSION=${LAMMPS_VERSION} -MSMPI rebomosplugin.nsis
5353 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
5454 DEPENDS rebomosplugin ${CMAKE_BINARY_DIR} /lammps.ico ${CMAKE_BINARY_DIR} /lammps-text-logo-wide.bmp ${CMAKE_BINARY_DIR} /rebomosplugin.nsis
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
5050 set (mytarget package)
5151 endif ()
5252 if (BUILD_MPI)
53- if (USE_MSMPI)
53+ if (USE_MSMPI AND CMAKE_CROSSCOMPILING )
5454 add_custom_target (${mytarget} ${MAKENSIS_PATH} -V1 -DVERSION=${LAMMPS_VERSION} -MSMPI vcsgcplugin.nsis
5555 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
5656 DEPENDS vcsgcplugin ${CMAKE_BINARY_DIR} /lammps.ico ${CMAKE_BINARY_DIR} /lammps-text-logo-wide.bmp ${CMAKE_BINARY_DIR} /vcsgcplugin.nsis
You can’t perform that action at this time.
0 commit comments