CMakeLists.txt: Fix the closing block for IF(POLICY CMP0151).

CMake Warning (dev) in CMakeLists.txt:
  A logical block opening on the line

    /home/david/programming/rom-properties/CMakeLists.txt:6 (IF)

  closes on the line

    /home/david/programming/rom-properties/CMakeLists.txt:8 (ENDIF)

  with mis-matching arguments.
This warning is for project developers.  Use -Wno-dev to suppress it.
This commit is contained in:
David Korth 2025-01-26 19:49:26 -05:00
parent 1f8dc86386
commit 33f5725781

View File

@ -5,7 +5,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
# Introduced in CMake 3.0.
IF(POLICY CMP0048)
CMAKE_POLICY(SET CMP0048 NEW)
ENDIF(CMP0048)
ENDIF(POLICY CMP0048)
# CMP0063: Honor visibility properties for all target types,
# including static libraries and executables.