fix out-of-source builds
This commit is contained in:
parent
f614eb1a0b
commit
44f9ddd7a2
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
# Build comp_sql - used for embedding SQL in C or C++ programs
|
# Build comp_sql - used for embedding SQL in C or C++ programs
|
||||||
IF(NOT CMAKE_CROSSCOMPILING)
|
IF(NOT CMAKE_CROSSCOMPILING)
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
|
||||||
ADD_EXECUTABLE(comp_sql comp_sql.c)
|
ADD_EXECUTABLE(comp_sql comp_sql.c)
|
||||||
TARGET_LINK_LIBRARIES(comp_sql)
|
TARGET_LINK_LIBRARIES(comp_sql)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user