mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 07:15:47 +00:00
[CMake] Provide a way to customise the install directories used for
executables, include files and libraries. We use ``GNUInstallDirs.cmake`` which ships with CMake to do the difficult work of setting a sensible default and setting up CMake cache variables. These can be overriden when running CMake by setting the ``CMAKE_INSTALL_BINDIR``, ``CMAKE_INSTALL_INCLUDEDIR`` and ``CMAKE_INSTALL_LIBDIR`` cache variables.
This commit is contained in:
parent
402e132ce5
commit
04ca873abb
4 changed files with 15 additions and 10 deletions
|
@ -43,5 +43,5 @@ target_link_libraries(shell PRIVATE ${Z3_DEPENDENT_LIBS})
|
|||
z3_add_component_dependencies_to_target(shell ${shell_expanded_deps})
|
||||
z3_append_linker_flag_list_to_target(shell ${Z3_DEPENDENT_EXTRA_CXX_LINK_FLAGS})
|
||||
install(TARGETS shell
|
||||
RUNTIME DESTINATION "${Z3_INSTALL_BIN_DIR}"
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue