Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

huangminghuang/update-abios #10301

Merged
merged 3 commits into from
Apr 29, 2021
Merged

Conversation

huangminghuang
Copy link
Contributor

Change Description

Update abieos to fix cmake 3.8 issue

Change Type

Select ONE:

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Testing Changes

Select ANY that apply:

  • New Tests
  • Existing Tests
  • Test Framework
  • CI System
  • Other

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@spoonincode
Copy link
Contributor

Instead of INCLUDES DESTINATION include shouldn't this be something like INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} like the others?

@huangminghuang
Copy link
Contributor Author

huangminghuang commented Apr 28, 2021

Instead of INCLUDES DESTINATION include shouldn't this be something like INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} like the others?

CMAKE_INSTALL_INCLUDEDIR is only defined after the inclusion of GNUInstallDirs, which I don't think it's necessary.

From cmake documetation:

If a relative path is given it is interpreted relative to the value of the CMAKE_INSTALL_PREFIX variable.

@spoonincode
Copy link
Contributor

every other install(TARGETS has it. Even other out of tree projects from us like eos-vm
https://github.com/EOSIO/eos-vm/blob/59879ce21ea61d796f7cbbbed3c03d158a72ab77/CMakeLists.txt#L129-L135
Is there some reason abieos should not be consistent?

@huangminghuang huangminghuang merged commit 4b1e2ab into develop Apr 29, 2021
@huangminghuang huangminghuang deleted the huangminghuang/update-abios branch May 5, 2021 15:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants