diff --git a/ng/CMakeLists.txt b/ng/CMakeLists.txt index 6dd4d0b4..6bcb62b4 100644 --- a/ng/CMakeLists.txt +++ b/ng/CMakeLists.txt @@ -65,7 +65,7 @@ if(USE_PYTHON) set_target_properties( ngpy PROPERTIES OUTPUT_NAME "libngpy") endif() set_target_properties(ngpy PROPERTIES INSTALL_RPATH "${NG_RPATH_TOKEN}/../${NETGEN_PYTHON_RPATH}") - install(TARGETS ngpy RUNTIME DESTINATION ${NG_INSTALL_DIR_PYTHON}/${NG_INSTALL_SUFFIX} ARCHIVE DESTINATION ${NG_INSTALL_DIR_LIB} COMPONENT netgen) + install(TARGETS ngpy RUNTIME DESTINATION ${NG_INSTALL_DIR_PYTHON}/${NG_INSTALL_SUFFIX} LIBRARY DESTINATION ${NG_INSTALL_DIR_LIB} ARCHIVE DESTINATION ${NG_INSTALL_DIR_LIB} COMPONENT netgen) endif(USE_PYTHON) if(USE_GUI)