0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-12-24 06:41:04 +08:00

Fixed include path

This commit is contained in:
Roland Bock 2014-09-06 06:18:18 +02:00
parent 400f79b79c
commit 88bd56ff2d

View File

@ -1,7 +1,7 @@
macro (build arg) macro (build arg)
# Add headers to sources to enable file browsing in IDEs # Add headers to sources to enable file browsing in IDEs
include_directories("${CMAKE_BINARY_DIR}/tests") include_directories("${CMAKE_SOURCE_DIR}/tests")
add_executable("Sqlpp11Example${arg}" "${arg}.cpp" ${sqlpp_headers} "${CMAKE_SOURCE_DIR}/tests/MockDb.h" "${CMAKE_CURRENT_LIST_DIR}/Sample.h") add_executable("Sqlpp11Example${arg}" "${arg}.cpp" ${sqlpp_headers} "${CMAKE_SOURCE_DIR}/tests/MockDb.h" "${CMAKE_CURRENT_LIST_DIR}/Sample.h")
add_test("${arg}" "${arg}") add_test("${arg}" "${arg}")
endmacro () endmacro ()