Skip to content

Commit

Permalink
Merge pull request #277 from TareHimself/master
Browse files Browse the repository at this point in the history
Allow Simd install target to be consumed using find_package
  • Loading branch information
ermig1979 authored Oct 1, 2024
2 parents 4660c1c + d5bce0b commit ef1a1fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prj/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ endif()
if(SIMD_INSTALL)
file(GLOB_RECURSE SIMD_LIB_HPP ${SIMD_ROOT}/src/Simd/Simd*.hpp)
set_target_properties(Simd PROPERTIES PUBLIC_HEADER "${SIMD_ROOT}/src/Simd/SimdLib.h;${SIMD_LIB_HPP}")
install(TARGETS Simd EXPORT simdtargets
install(TARGETS Simd EXPORT simdConfig
LIBRARY DESTINATION "lib"
ARCHIVE DESTINATION "lib"
PUBLIC_HEADER DESTINATION "include/Simd")
install(EXPORT simdtargets DESTINATION share/simd)
install(EXPORT simdConfig DESTINATION share/simd)
endif()

if(SIMD_UNINSTALL)
Expand Down

0 comments on commit ef1a1fe

Please sign in to comment.