diff --git a/contrib/platform/win32/CMakeModules/find_ccp.cmake b/contrib/platform/win32/CMakeModules/find_ccp.cmake index baf303c6f1..8f3e5b67b5 100755 --- a/contrib/platform/win32/CMakeModules/find_ccp.cmake +++ b/contrib/platform/win32/CMakeModules/find_ccp.cmake @@ -12,7 +12,9 @@ SET(EXTRA_INCLUDE_PATH "") -IF(NOT CCPAPI_FOUND) +IF(NOT OMPI_WANT_CCP) + SET(RESULT FALSE) +ELSEIF(NOT CCPAPI_FOUND) MESSAGE(STATUS "looking for ccp...") IF(CMAKE_CL_64) @@ -35,4 +37,4 @@ IF(NOT CCPAPI_FOUND) ELSE(NOT CCPAPI_FOUND) SET(RESULT_INCLUDE_PATH ${CCP_LIB_PATH}) SET(RESULT TRUE) -ENDIF(NOT CCPAPI_FOUND) +ENDIF(NOT OMPI_WANT_CCP) diff --git a/contrib/platform/win32/CMakeModules/ompi_configure.cmake b/contrib/platform/win32/CMakeModules/ompi_configure.cmake index bc903678a1..20894086fc 100644 --- a/contrib/platform/win32/CMakeModules/ompi_configure.cmake +++ b/contrib/platform/win32/CMakeModules/ompi_configure.cmake @@ -374,6 +374,8 @@ ELSE(NOT OMPI_WANT_MPI_INTERFACE_WARNING) SET (OMPI_WANT_MPI_INTERFACE_WARNING 1) ENDIF(NOT OMPI_WANT_MPI_INTERFACE_WARNING) +OPTION(OMPI_WANT_CCP + "Whether we want to have the CCP remote process launch support." ON) SET (OMPI_EXT_COMPONENTS Example CACHE STRING "Specify user defined MPI Extended Interface Components." FORCE)