Skip to content

Commit e5fff85

Browse files
committed
[libpng] CMakeLists.txt: CheckLibraryExists *is* needed.
It's been needed since check_library_exists() was added for libm in libpng-1.6.50. (Only on Linux and possibly macOS, though...)
1 parent b0d554a commit e5fff85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extlib/libpng/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ if(POLICY CMP0074)
3737
endif()
3838

3939
include(CheckCSourceCompiles)
40+
include(CheckLibraryExists)
4041
# rom-properties: Not used.
4142
IF(0)
42-
include(CheckLibraryExists)
4343
include(GNUInstallDirs)
4444
ENDIF(0) # rom-properties
4545

0 commit comments

Comments
 (0)