sandsmark / genieutils

A library for reading and writing the file formats used in the Genie engine (AoE, AoC, SWGB, etc.)
GNU Lesser General Public License v3.0
24 stars 7 forks source link

Outdated CMake requirements #3

Closed SmallJoker closed 4 years ago

SmallJoker commented 4 years ago

This line should be updated to 3.13 or newer: https://github.com/sandsmark/genieutils/blob/3f054970c495fa26140692d55eec43ea6ed4690e/CMakeLists.txt#L6

cmake_policy(SET CMP0077 NEW)

This policy was introduced in CMake version 3.13.

EDIT: I assume this is a follow-up issue caused by the outdated cmake version (3.10.2):

CMake Error at CMakeLists.txt:237 (target_link_libraries):
  Object library target "genieutils_common" may not link to anything.