fix install paths
This commit is contained in:
parent
66d5e5b741
commit
07428d1e6d
4 changed files with 4 additions and 10 deletions
|
@ -7,4 +7,4 @@ if(ENABLE_hdf5)
|
||||||
add_subdirectory(opt/hdf5)
|
add_subdirectory(opt/hdf5)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(DIRECTORY include/ DESTINATION ${INSTALL_PATH}/include)
|
install(DIRECTORY include/ DESTINATION ${INSTALL_PATH}/include/cnorxz)
|
||||||
|
|
|
@ -26,9 +26,7 @@ set_target_properties(cnorxz PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
|
||||||
# )
|
# )
|
||||||
#set_target_properties(cnorxz_obj PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
|
#set_target_properties(cnorxz_obj PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
|
||||||
|
|
||||||
install(TARGETS cnorxz
|
install(TARGETS cnorxz LIBRARY DESTINATION ${INSTALL_PATH}/lib)
|
||||||
ARCHIVE DESTINATION ${INSTALL_PATH}/lib
|
|
||||||
LIBRARY DESTINATION ${INSTALL_PATH}/lib)
|
|
||||||
|
|
||||||
#install(TARGETS cnorxz_static
|
#install(TARGETS cnorxz_static
|
||||||
# ARCHIVE DESTINATION ${INSTALL_PATH}/lib
|
# ARCHIVE DESTINATION ${INSTALL_PATH}/lib
|
||||||
|
|
|
@ -13,5 +13,4 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||||
add_subdirectory(lib)
|
add_subdirectory(lib)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
|
||||||
set(HDF5_INSTALL_PATH ${INSTALL_PATH}/hdf5)
|
install(DIRECTORY include/ DESTINATION ${INSTALL_PATH}/include/cnorxz/hdf5)
|
||||||
install(DIRECTORY include/ DESTINATION ${HDF5_INSTALL_PATH}/include)
|
|
||||||
|
|
|
@ -16,7 +16,4 @@ add_library(cnorxzhdf5 SHARED
|
||||||
)
|
)
|
||||||
set_target_properties(cnorxzhdf5 PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
|
set_target_properties(cnorxzhdf5 PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
|
||||||
|
|
||||||
install(TARGETS cnorxz
|
install(TARGETS cnorxzhdf5 LIBRARY DESTINATION ${INSTALL_PATH}/lib)
|
||||||
ARCHIVE DESTINATION ${HDF5_INSTALL_PATH}/lib
|
|
||||||
LIBRARY DESTINATION ${HDF5_INSTALL_PATH}/lib
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in a new issue