Skip to content

Remove BUILD_SHARED_LIBS from cache entries

Nicolas Cadart requested to merge BuildLidarSlamLibAsStatic into master

This variable does not need to be a cache entry. This variable existence is checked in normal variables, then in cache entries. This allows to easily set this as a normal variable in a parent scope, without needing to set it as cache entry, which would override all next calls to this variable.

When needed, this variable may be set locally to the desired value.

This also sets the needed ARCHIVE DESTINATION path in case lib is built as STATIC.

@nick.laurenson @julia.sanchez @arnaud.billon PTAL

Edited by Nicolas Cadart

Merge request reports