Another attempt with MATLAB path

This commit is contained in:
Ian Bell
2016-04-11 21:43:30 -06:00
parent d849b4530e
commit 8976f16ecf

View File

@@ -1008,7 +1008,8 @@ if (COOLPROP_MATLAB_SWIG_MODULE)
endif()
add_dependencies (CoolPropMATLAB_wrap generate_headers)
if (not COOLPROP_MATLAB_INSTALL_PREFIX)
if (COOLPROP_MATLAB_INSTALL_PREFIX)
else()
set(COOLPROP_MATLAB_INSTALL_PREFIX ${COOLPROP_INSTALL_PREFIX}/MATLAB)
endif()
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/+CoolProp.7z DESTINATION ${COOLPROP_MATLAB_INSTALL_PREFIX})