cmake_policy

This commit is contained in:
James Cherry 2020-01-27 11:50:00 -07:00
parent 74a3005b8f
commit 9075269079
1 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
cmake_minimum_required (VERSION 3.9...3.16)
cmake_minimum_required (VERSION 3.9)
# Use standard target names
cmake_policy(SET CMP0078 NEW)
# Allows SWIG_MODULE_NAME to be set
cmake_policy(SET CMP0086 NEW)
project(STA VERSION 2.0.18)