-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Labels
bugSomething isn't workingSomething isn't workingimpact mediumProductivity partially degraded (not easily mitigated bug) or improved (enhancement)Productivity partially degraded (not easily mitigated bug) or improved (enhancement)likelihood mediumNeither low nor high likelihoodNeither low nor high likelihoodreviewedIssue has been reviewed and labeled by a developerIssue has been reviewed and labeled by a developer
Milestone
Description
Describe the bug
Since the cmake configuration uses a lot of deprecated cmake_policies which are removed in cmake 4.0.0, the visit library does not compile anymore.
To Reproduce
Steps to reproduce the behavior. For example:
- install cmake 4.0
- run cmake configure
Expected behavior
Visit should configure.
Attachments
Caused by
if(COMMAND cmake_policy)
cmake_policy(SET CMP0033 OLD)
if(WIN32)
# don't automatically link with qtmain
cmake_policy(SET CMP0020 OLD)
if(POLICY CMP0091) # introduced in cmake 3.15
# Tell CMake to always use /MD, even for debug builds.
# Done because prebuilt TP libraries are built with /MD and
# if debug build of VisIt uses /MDd there are runtime issues.
cmake_policy(SET CMP0091 NEW) # MSVC_RUNTIME_LIBRARY
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL")
endif()
endif()
endif()
Desktop
- Windows 11
- compiler: clang version 18.1.4 Target: x86_64-pc-windows-msvc
- VisIt Version: main
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingimpact mediumProductivity partially degraded (not easily mitigated bug) or improved (enhancement)Productivity partially degraded (not easily mitigated bug) or improved (enhancement)likelihood mediumNeither low nor high likelihoodNeither low nor high likelihoodreviewedIssue has been reviewed and labeled by a developerIssue has been reviewed and labeled by a developer