diff --git a/cmake/YCMBootstrap.cmake b/cmake/YCMBootstrap.cmake index 25ff652f9..6ff7b7e6a 100644 --- a/cmake/YCMBootstrap.cmake +++ b/cmake/YCMBootstrap.cmake @@ -137,7 +137,7 @@ if(NOT ycm_POPULATED) # FIXME Where is YCM_EP_INSTALL_DIR defined? if (DEFINED YCM_EP_INSTALL_DIR) - set(YCM_INSTALL_DIR ${YCM_INSTALL_DIR}) + set(YCM_INSTALL_DIR ${YCM_EP_INSTALL_DIR}) else() set(YCM_INSTALL_DIR "${CMAKE_BINARY_DIR}/install") endif()