Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Fix include dir (#28)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Vaneev <[email protected]>
  • Loading branch information
Warchant authored Sep 19, 2019
1 parent 724a0a6 commit e86eeea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rust.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ message(STATUS "[sr25519] library: ${lib}")
set(include_path ${CMAKE_CURRENT_SOURCE_DIR}/include)
set(sr25519_h_dir ${include_path}/sr25519)


### setup install task
include(GNUInstallDirs)
function(ifd_install what where)
Expand All @@ -40,7 +39,7 @@ function(ifd_install what where)
endfunction()


ifd_install(${include_path} ${CMAKE_INSTALL_INCLUDEDIR})
ifd_install(${sr25519_h_dir} ${CMAKE_INSTALL_INCLUDEDIR})
ifd_install(${lib} ${CMAKE_INSTALL_LIBDIR})
ifd_install(${CMAKE_SOURCE_DIR}/sr25519Config.cmake ${CMAKE_INSTALL_LIBDIR}/cmake/sr25519)
ifd_install(${CMAKE_SOURCE_DIR}/sr25519Config-noconfig.cmake ${CMAKE_INSTALL_LIBDIR}/cmake/sr25519)
Expand Down

0 comments on commit e86eeea

Please sign in to comment.