Skip to content

Commit

Permalink
馃┕ guard install instruction (#531)
Browse files Browse the repository at this point in the history
## Description

This PR fixes a small oversight in #529 where one of the install
instructions was not guarded properly. This should fix the issues
observed in cda-tum/mqt-qcec#352.

## Checklist:

<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->

- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style guidelines.

Signed-off-by: burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Jan 13, 2024
1 parent c2ed211 commit 2f206a0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/zx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ if(NOT TARGET ${MQT_CORE_TARGET_NAME}-zx)
$<INSTALL_INTERFACE:${MQT_CORE_INCLUDE_INSTALL_DIR}>)
add_library(MQT::Multiprecision ALIAS multiprecision)

# finally, we create install instructions for the respective header files
install(DIRECTORY ${MULTIPRECISION_INCLUDE_DIR}/boost
DESTINATION ${MQT_CORE_INCLUDE_INSTALL_DIR})
if(MQT_CORE_INSTALL)
# finally, we create install instructions for the respective header files
install(DIRECTORY ${MULTIPRECISION_INCLUDE_DIR}/boost
DESTINATION ${MQT_CORE_INCLUDE_INSTALL_DIR})
endif()
endif()
endif()

Expand Down

0 comments on commit 2f206a0

Please sign in to comment.