mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 11:19:48 +02:00
better support for static build on debian
This commit is contained in:
@@ -46,7 +46,9 @@ OPTION(FORCE_IRCCLIENT_DYNAMIC_LIBS "force the use of dynamic libs for IRCCLIENT
|
||||
MESSAGE(STATUS "Force IRCCLient dynamic: ${FORCE_IRCCLIENT_DYNAMIC_LIBS}")
|
||||
|
||||
IF(WANT_STATIC_LIBS AND NOT FORCE_IRCCLIENT_DYNAMIC_LIBS)
|
||||
SET(IRCCLIENT_FIND_LIBRARIES libircclient.a)
|
||||
SET(IRCCLIENT_FIND_LIBRARIES libircclient.a ircclient.a)
|
||||
ELSE()
|
||||
SET(IRCCLIENT_FIND_LIBRARIES libircclient ircclient)
|
||||
ENDIF()
|
||||
|
||||
FIND_LIBRARY(IRCCLIENT_LIBRARY
|
||||
|
Reference in New Issue
Block a user