Skip to content

Commit 7b94871

Browse files
committed
Add more include directories.
1 parent b48abd8 commit 7b94871

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

CMakeLists.txt

+10-5
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ endif()
7070
if (WIN32)
7171
if (MSVC)
7272
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
73-
73+
7474
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
7575
endif()
76-
76+
7777
set(LIB_Ws2_32 Ws2_32)
7878
endif()
7979

@@ -83,7 +83,7 @@ endif()
8383

8484
if (UNIX)
8585
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11")
86-
86+
8787
set(LIB_pthread pthread)
8888
endif()
8989

@@ -100,14 +100,19 @@ include(Configure)
100100

101101
configure_file(${AUTOCONFIG_SRC} ${AUTOCONFIG} @ONLY)
102102

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+
)
104109

105110
configure_file(
106111
${CMAKE_SOURCE_DIR}/cmake/templates/TesseractConfig-version.cmake.in
107112
${CMAKE_BINARY_DIR}/TesseractConfig-version.cmake @ONLY)
108113
configure_file(
109114
${CMAKE_SOURCE_DIR}/cmake/templates/TesseractConfig.cmake.in
110-
${CMAKE_BINARY_DIR}/TesseractConfig.cmake @ONLY)
115+
${CMAKE_BINARY_DIR}/TesseractConfig.cmake @ONLY)
111116

112117
###############################################################################
113118
#

0 commit comments

Comments
 (0)