Skip to content

Commit

Permalink
CMakeLists.txt: Only link to UTIL_LIB if it was found
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengtuggy committed Apr 25, 2024
1 parent 056b975 commit e9461bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,9 @@ ELSE (NOT BEOS)
FIND_LIBRARY(UTIL_LIB network)
ENDIF (NOT BEOS)

IF (NOT WIN32)
IF (UTIL_LIB)
SET(TST_LIBS ${TST_LIBS} ${UTIL_LIB})
ENDIF (NOT WIN32)
ENDIF ()

# Still need to add CEGUI and OGRE find packages

Expand Down

0 comments on commit e9461bc

Please sign in to comment.