blob: a814c9172730584f1c94703beed0bdce40ecb4ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- CMakeLists.txt.orig 2020-04-25 22:05:56 UTC
+++ CMakeLists.txt
@@ -437,7 +437,11 @@ set(NEEDED_HEADERS
xlocale.h)
if(ENABLE_NLS)
- list(APPEND NEEDED_HEADERS libintl.h)
+ list(APPEND NEEDED_HEADERS libintl.h)
+ find_package(Intl)
+ if(Intl_FOUND)
+ set(LIBINTL_LIBRARY ${Intl_LIBRARIES})
+ endif()
endif()
foreach(H ${NEEDED_HEADERS})
@@ -552,10 +556,6 @@ foreach(P daemon cli utils gtk qt mac)
add_subdirectory(${P})
endif()
endforeach()
-
-if(ENABLE_DAEMON OR ENABLE_GTK OR ENABLE_QT)
- tr_install_web(${CMAKE_INSTALL_DATAROOTDIR}/${TR_NAME})
-endif()
if(INSTALL_DOC)
install(FILES AUTHORS COPYING NEWS README.md extras/rpc-spec.txt extras/send-email-when-torrent-done.sh DESTINATION ${CMAKE_INSTALL_DOCDIR})
|