mirror of
https://github.com/Z3Prover/z3
synced 2025-08-30 15:00:08 +00:00
cmake: Cleanup remnants of workaround for USES_TERMINAL.
In older versions, this was dependent upon the version of cmake, but when it was updated for newer cmake, these remnants were left.
This commit is contained in:
parent
8313282cda
commit
42f5047463
9 changed files with 15 additions and 22 deletions
|
@ -10,13 +10,6 @@ project(Z3 VERSION 4.11.0.0 LANGUAGES CXX)
|
|||
set(Z3_FULL_VERSION_STR "${Z3_VERSION}") # Note this might be modified
|
||||
message(STATUS "Z3 version ${Z3_VERSION}")
|
||||
|
||||
################################################################################
|
||||
# Set various useful variables depending on CMake version
|
||||
################################################################################
|
||||
|
||||
set(ADD_CUSTOM_COMMAND_USES_TERMINAL_ARG "USES_TERMINAL")
|
||||
set(ADD_CUSTOM_TARGET_USES_TERMINAL_ARG "USES_TERMINAL")
|
||||
|
||||
################################################################################
|
||||
# Message for polluted source tree sanity checks
|
||||
################################################################################
|
||||
|
@ -482,7 +475,7 @@ add_custom_target(uninstall
|
|||
COMMAND
|
||||
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||
COMMENT "Uninstalling..."
|
||||
${ADD_CUSTOM_COMMAND_USES_TERMINAL_ARG}
|
||||
USES_TERMINAL
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue