File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,6 @@ option(WITH_GFLAGS "Use gflags" OFF)
25
25
option (WITH_GTEST "Use googletest" OFF )
26
26
option (WITH_UNWIND "Enable libunwind support" OFF )
27
27
add_subdirectory (librime/deps/glog)
28
- file (INSTALL DESTINATION "${CMAKE_BINARY_DIR} /include/glog" TYPE FILE FILES
29
- "${CMAKE_BINARY_DIR} /librime/deps/glog/glog/export.h"
30
- "${CMAKE_BINARY_DIR} /librime/deps/glog/glog/logging.h"
31
- "${CMAKE_BINARY_DIR} /librime/deps/glog/glog/raw_logging.h"
32
- "${CMAKE_BINARY_DIR} /librime/deps/glog/glog/stl_logging.h"
33
- "${CMAKE_BINARY_DIR} /librime/deps/glog/glog/vlog_is_on.h"
34
- "librime/deps/glog/src/glog/log_severity.h"
35
- )
36
28
37
29
option (YAML_CPP_BUILD_TOOLS "" OFF )
38
30
# TODO: remove below options after librime > 1.7.3
@@ -59,7 +51,11 @@ include(OpenccWorkarounds)
59
51
include (RimePlugins)
60
52
61
53
option (BUILD_TEST "" OFF )
62
- include_directories ("librime/include" ) # for X11/keysym.h
54
+ include_directories (
55
+ PRIVATE "${CMAKE_CURRENT_SOURCE_DIR} /librime/include"
56
+ PRIVATE "${CMAKE_CURRENT_BINARY_DIR} /librime/deps/glog"
57
+ PRIVATE "${CMAKE_CURRENT_SOURCE_DIR} /librime/deps/glog/src"
58
+ )
63
59
# workaround for librime/tools/rime_api_console.cc
64
60
# TODO: fix it in upstream
65
61
string (REPLACE "-Werror=format-security" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
You can’t perform that action at this time.
0 commit comments