diff --git a/CMakeLists.txt b/CMakeLists.txt index dbd139926dc29770e4d3a0e74484c75f3ccbf9aa..6968c32f41fe9b6cad0f3944aba695070c6cf49b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,7 @@ set(MOOSE_GUI_DIR ${CMAKE_SOURCE_DIR}/moose-gui) # Install pymoose. Use tar.gz in PYMOOSE_BUILD_DIR and unarchive it. # /usr is prefixed by bdist so we need to replace it. -install(DIRECTORY ${PYMOOSE_INSTALL_DIR}/egg/ +install(DIRECTORY ${PYMOOSE_INSTALL_DIR}/usr/ DESTINATION ${CMAKE_INSTALL_PREFIX} PATTERN ".git" EXCLUDE PATTERN "*.pyc" EXCLUDE