diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a05d87..e0d87f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,16 +74,20 @@ IF(${CMAKE_VERSION} VERSION_LESS "3.0") ELSE() ADD_LIBRARY(fp16 INTERFACE) ENDIF() -TARGET_INCLUDE_DIRECTORIES(fp16 INTERFACE include) +TARGET_INCLUDE_DIRECTORIES(fp16 INTERFACE + $ + $) INSTALL(FILES include/fp16.h + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +INSTALL(FILES include/fp16/bitcasts.h include/fp16/fp16.h include/fp16/psimd.h include/fp16/__init__.py include/fp16/avx.py include/fp16/avx2.py - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/fp16) # ---[ Configure psimd IF(NOT TARGET psimd)