File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ endif()
70
70
if (WIN32 )
71
71
if (MSVC )
72
72
add_definitions (-D_CRT_SECURE_NO_WARNINGS)
73
-
73
+
74
74
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP" )
75
75
endif ()
76
-
76
+
77
77
set (LIB_Ws2_32 Ws2_32)
78
78
endif ()
79
79
@@ -83,7 +83,7 @@ endif()
83
83
84
84
if (UNIX )
85
85
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11" )
86
-
86
+
87
87
set (LIB_pthread pthread)
88
88
endif ()
89
89
@@ -100,14 +100,19 @@ include(Configure)
100
100
101
101
configure_file (${AUTOCONFIG_SRC} ${AUTOCONFIG} @ONLY)
102
102
103
- set (INCLUDE_DIR ${CMAKE_SOURCE_DIR} /api)
103
+ set (INCLUDE_DIR
104
+ ${CMAKE_SOURCE_DIR} /api
105
+ ${CMAKE_SOURCE_DIR} /ccmain
106
+ ${CMAKE_SOURCE_DIR} /ccstruct
107
+ ${CMAKE_SOURCE_DIR} /ccutil
108
+ )
104
109
105
110
configure_file (
106
111
${CMAKE_SOURCE_DIR} /cmake/templates/TesseractConfig-version .cmake.in
107
112
${CMAKE_BINARY_DIR} /TesseractConfig-version .cmake @ONLY)
108
113
configure_file (
109
114
${CMAKE_SOURCE_DIR} /cmake/templates/TesseractConfig.cmake.in
110
- ${CMAKE_BINARY_DIR} /TesseractConfig.cmake @ONLY)
115
+ ${CMAKE_BINARY_DIR} /TesseractConfig.cmake @ONLY)
111
116
112
117
###############################################################################
113
118
#
You can’t perform that action at this time.
0 commit comments