CMake fix

This commit is contained in:
Matthias Hochsteger 2017-06-08 15:26:35 +02:00
parent 2e5b7082ea
commit 0fc20f3aee

View File

@ -65,7 +65,7 @@ if(USE_PYTHON)
set_target_properties( ngpy PROPERTIES OUTPUT_NAME "libngpy") set_target_properties( ngpy PROPERTIES OUTPUT_NAME "libngpy")
endif() endif()
set_target_properties(ngpy PROPERTIES INSTALL_RPATH "${NG_RPATH_TOKEN}/../${NETGEN_PYTHON_RPATH}") 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} LIBRARY DESTINATION ${NG_INSTALL_DIR_LIB} 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_PYTHON}/${NG_INSTALL_SUFFIX} ARCHIVE DESTINATION ${NG_INSTALL_DIR_LIB} COMPONENT netgen)
endif(USE_PYTHON) endif(USE_PYTHON)
if(USE_GUI) if(USE_GUI)