Skip to content

Commit 213ffa0

Browse files
author
Johannes Schlüter
committed
Allow out of tree builds
1 parent 76ea7d4 commit 213ffa0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ IF(WIN32)
275275
ENDIF(WIN32)
276276
MESSAGE(STATUS "Installation path is: ${CMAKE_INSTALL_PREFIX} (overwrite with -DCMAKE_INSTALL_PREFIX=/your/path)")
277277

278+
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
279+
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/cppconn)
280+
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/driver/nativeapi)
278281

279282
ADD_SUBDIRECTORY(cppconn)
280283
ADD_SUBDIRECTORY(driver)

0 commit comments

Comments
 (0)