target prop

This commit is contained in:
Christian Zimmermann 2018-11-09 10:39:25 +01:00
parent 7447326e0f
commit 637aa585bd

View file

@ -14,6 +14,7 @@ foreach(ccfile ${cc_files})
endforeach(ccfile)
add_library(multiarray SHARED ${libmultiarray_a_SOURCES})
set_target_properties(multiarray PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
install(TARGETS multiarray
ARCHIVE DESTINATION ${INSTALL_PATH}/lib
LIBRARY DESTINATION ${INSTALL_PATH}/lib)