<commit_before># ---------------------------------
# Finds GLADE toolkit
#
# Sets GLADE_FOUND
# Sets GLADE_LIBRARIES
# Sets GLADE_LIBRARY_DIRS
# Sets GLADE_LDFLAGS
# Sets GLADE_LDFLAGS_OTHERS
# Sets GLADE_INCLUDE_DIRS
# Sets GLADE_CFLAGS
# Sets GLADE_CFLAGS_OTHERS
# ---------------------------------

INCLUDE("FindThirdPartyPkgConfig")
pkg_check_modules(GLADE libglade-2.0)
pkg_check_modules(GTHREAD gthread-2.0)

IF(GLADE_FOUND AND GTHREAD_FOUND)
	MESSAGE(STATUS "  Found glade...")
	INCLUDE_DIRECTORIES(${GLADE_INCLUDE_DIRS} ${GTHREAD_INCLUDE_DIRS})
	ADD_DEFINITIONS(${GLADE_CFLAGS} ${GTHREAD_CFLAGS})
	ADD_DEFINITIONS(${GLADE_CFLAGS_OTHERS} ${GTHREAD_CFLAGS_OTHERS})
	LINK_DIRECTORIES(${GLADE_LIBRARY_DIRS} ${GTHREAD_LIBRARY_DIRS})
	FOREACH(GLADE_LIB ${GLADE_LIBRARIES} ${GTHREAD_LIBRARIES})
		SET(GLADE_LIB1 "GLADE_LIB1-NOTFOUND")
		FIND_LIBRARY(GLADE_LIB1 NAMES ${GLADE_LIB} PATHS ${GLADE_LIBRARY_DIRS} ${GLADE_LIBDIR} NO_DEFAULT_PATH)
		FIND_LIBRARY(GLADE_LIB1 NAMES ${GLADE_LIB})
		IF(GLADE_LIB1)
			MESSAGE(STATUS "    [  OK  ] Third party lib ${GLADE_LIB1}")<commit_msg>cmake-modules :  + added zlib to cmake script for finding glade because of latest fedora<commit_after># ---------------------------------
# Finds GLADE toolkit
#
# Sets GLADE_FOUND
# Sets GLADE_LIBRARIES
# Sets GLADE_LIBRARY_DIRS
# Sets GLADE_LDFLAGS
# Sets GLADE_LDFLAGS_OTHERS
# Sets GLADE_INCLUDE_DIRS
# Sets GLADE_CFLAGS
# Sets GLADE_CFLAGS_OTHERS
# ---------------------------------

INCLUDE("FindThirdPartyPkgConfig")
pkg_check_modules(GLADE libglade-2.0)
pkg_check_modules(GTHREAD gthread-2.0)

IF(GLADE_FOUND AND GTHREAD_FOUND)
	MESSAGE(STATUS "  Found glade...")
	INCLUDE_DIRECTORIES(${GLADE_INCLUDE_DIRS} ${GTHREAD_INCLUDE_DIRS})
	ADD_DEFINITIONS(${GLADE_CFLAGS} ${GTHREAD_CFLAGS})
	ADD_DEFINITIONS(${GLADE_CFLAGS_OTHERS} ${GTHREAD_CFLAGS_OTHERS})
	LINK_DIRECTORIES(${GLADE_LIBRARY_DIRS} ${GTHREAD_LIBRARY_DIRS})
	FOREACH(GLADE_LIB ${GLADE_LIBRARIES} ${GTHREAD_LIBRARIES} z)
		SET(GLADE_LIB1 "GLADE_LIB1-NOTFOUND")
		FIND_LIBRARY(GLADE_LIB1 NAMES ${GLADE_LIB} PATHS ${GLADE_LIBRARY_DIRS} ${GLADE_LIBDIR} NO_DEFAULT_PATH)
		FIND_LIBRARY(GLADE_LIB1 NAMES ${GLADE_LIB})
		IF(GLADE_LIB1)
			MESSAGE(STATUS "    [  OK  ] Third party lib ${GLADE_LIB1}")
{'fraction_non_alphanumeric': 0.15690657130084934, 'fraction_numerical': 0.008940545373267769, 'mean_word_length': 5.048648648648649, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1552829', 'n_tokens_mistral': 989, 'n_tokens_neox': 864, 'n_words': 134}