Skip to content

Conversation

@N-Dekker
Copy link
Member

Aims to fix the following CMake Warning from https://open.cdash.org/build/6758579/configure Build: InsightSoftwareConsortium/ITKElastix-macos-10.15--refs/pull/60/merge

CMake Warning (dev) at /Users/runner/work/ITKElastix/build/_deps/elx-src/CMakeLists.txt:37 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable 'BUILD_SHARED_LIBS'.

Follow-up to commit bb902f7, "COMP: Explicitly disable BUILD_SHARED_LIBS", September 11, 2019.

Related to:

Aims to fix the following CMake Warning from https://open.cdash.org/build/6758579/configure Build: InsightSoftwareConsortium/ITKElastix-macos-10.15--refs/pull/60/merge

> CMake Warning (dev) at /Users/runner/work/ITKElastix/build/_deps/elx-src/CMakeLists.txt:37 (option):
>  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
> --help-policy CMP0077" for policy details.  Use the cmake_policy command to
> set the policy and suppress this warning.
>
> For compatibility with older versions of CMake, option is clearing the
> normal variable 'BUILD_SHARED_LIBS'.

Follow-up to commit bb902f7, "COMP: Explicitly disable BUILD_SHARED_LIBS", September 11, 2019.

Related to:
 - pull request #184 "COMP: Explicitly disable BUILD_SHARED_LIBS"
 - pull request #145 "Make BUILD_SHARED_LIBS do its job"
 - issue  #202 "Elastix 5.0 does not support shared libaray?"
@N-Dekker N-Dekker marked this pull request as ready for review September 12, 2020 10:41
@N-Dekker N-Dekker merged commit 30fcbb3 into develop Sep 12, 2020
@N-Dekker N-Dekker deleted the No-longer-add-BUILD_SHARED_LIBS-option branch September 12, 2020 10:42
N-Dekker added a commit to SuperElastix/manual that referenced this pull request Jun 23, 2023
See also pull request SuperElastix/elastix#283 "COMP: No longer add BUILD_SHARED_LIBS option", merged on September 12, 2020.

Removed obsolete text saying: "To build elastix as a library you have to disable the `ELASTIX_BUILD_EXECUTABLE` option in CMake". Related to pull request SuperElastix/elastix#232 commit SuperElastix/elastix@a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe" (August 25, 2020)
N-Dekker added a commit to SuperElastix/manual that referenced this pull request Jul 17, 2024
See also pull request SuperElastix/elastix#283 "COMP: No longer add BUILD_SHARED_LIBS option", merged on September 12, 2020.

Removed obsolete text saying: "To build elastix as a library you have to disable the `ELASTIX_BUILD_EXECUTABLE` option in CMake". Related to pull request SuperElastix/elastix#232 commit SuperElastix/elastix@a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe" (August 25, 2020)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants