31 lines
977 B
Plaintext
31 lines
977 B
Plaintext
$OpenBSD$
|
|
|
|
Index: cmake/ConkyPlatformChecks.cmake
|
|
--- cmake/ConkyPlatformChecks.cmake.orig
|
|
+++ cmake/ConkyPlatformChecks.cmake
|
|
@@ -136,9 +136,13 @@ else(OS_LINUX)
|
|
check_include_files("sys/soundcard.h" HAVE_SOME_SOUNDCARD_H)
|
|
endif(OS_LINUX)
|
|
|
|
-if(BUILD_I18N AND OS_DRAGONFLY)
|
|
- set(conky_libs ${conky_libs} -lintl)
|
|
-endif(BUILD_I18N AND OS_DRAGONFLY)
|
|
+if(BUILD_I18N)
|
|
+ find_package(Intl)
|
|
+ if (Intl_FOUND)
|
|
+ set(conky_includes ${conky_includes} ${Intl_INCLUDE_DIRS})
|
|
+ set(conky_libs ${conky_libs} ${Intl_LIBRARIES})
|
|
+ endif(Intl_FOUND)
|
|
+endif(BUILD_I18N)
|
|
|
|
if(BUILD_I18N AND OS_DARWIN)
|
|
find_path(LIBINTL_H_N libintl.h
|
|
@@ -340,6 +344,7 @@ if(BUILD_X11)
|
|
find_path(freetype_INCLUDE_PATH
|
|
freetype/config/ftconfig.h
|
|
${INCLUDE_SEARCH_PATH}
|
|
+ ${X11_INCLUDE_DIR}/freetype2
|
|
/usr/include/freetype2
|
|
/usr/local/include/freetype2
|
|
/usr/pkg/include/freetype2)
|