fix out-of-source builds

This commit is contained in:
Sergei Golubchik 2014-10-04 20:43:39 +02:00
parent f614eb1a0b
commit 44f9ddd7a2

View File

@ -15,6 +15,7 @@
# Build comp_sql - used for embedding SQL in C or C++ programs
IF(NOT CMAKE_CROSSCOMPILING)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
ADD_EXECUTABLE(comp_sql comp_sql.c)
TARGET_LINK_LIBRARIES(comp_sql)
ENDIF()