Changeset View
Changeset View
Standalone View
Standalone View
graphics/darktable/files/patch-cmake_modules_FindGettext.cmake
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- cmake/modules/FindGettext.cmake.orig 2015-07-26 11:47:47 UTC | |||||
+++ cmake/modules/FindGettext.cmake | |||||
@@ -13,6 +13,8 @@ include(LibFindMacros) | |||||
# On Linux there is no pkgconfig script, but with this we force Gettext_PKGCONF_INCLUDE_DIRS to "" | |||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux") | |||||
set(Gettext_PKGCONF_INCLUDE_DIRS "") | |||||
+elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") | |||||
+ set(Gettext_PKGCONF_INCLUDE_DIRS "/usr/local/include") | |||||
else(CMAKE_SYSTEM_NAME STREQUAL "Linux") | |||||
libfind_pkg_check_modules(Gettext_PKGCONF Gettext) | |||||
endif(CMAKE_SYSTEM_NAME STREQUAL "Linux") |