Lower cmake version to 3.16 to support Ubuntu 20.04
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.18)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
# Make CMAKE_C_VISIBILITY_PRESET work properly.
|
# Make CMAKE_C_VISIBILITY_PRESET work properly.
|
||||||
set(CMAKE_POLICY_DEFAULT_CMP0063 NEW)
|
set(CMAKE_POLICY_DEFAULT_CMP0063 NEW)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.18)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
# INTERPROCEDURAL_OPTIMIZATION is enforced when enabled.
|
# INTERPROCEDURAL_OPTIMIZATION is enforced when enabled.
|
||||||
set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)
|
set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)
|
||||||
|
|||||||
Reference in New Issue
Block a user