mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-03 08:28:44 -04:00
[Untested] Remove odd looking libpng global link flag expansion
If explicit link flag handling is required, it *should* be handled by FindPNG, and we should explicitly bind these kind of things to targets, rather than expanding the global linker flags I have no apple setup and can therefore not test this commit
This commit is contained in:
parent
3f7356e262
commit
5a8e9a86ad
1 changed files with 0 additions and 10 deletions
|
@ -85,16 +85,6 @@ IF(APPLE)
|
|||
ELSE (UNIVERSAL)
|
||||
SET(CMAKE_OSX_SYSROOT "/")
|
||||
ENDIF (UNIVERSAL)
|
||||
|
||||
IF (PNG_FOUND)
|
||||
INCLUDE_DIRECTORIES(
|
||||
"${PNG_INCLUDE_DIR}"
|
||||
)
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lpng")
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -lpng")
|
||||
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -lpng")
|
||||
ENDIF (PNG_FOUND)
|
||||
|
||||
ENDIF(APPLE)
|
||||
|
||||
add_subdirectory(backend)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue