]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | diff --git a/cmake/Sqlpp11Config.cmake b/cmake/Sqlpp11Config.cmake |
2 | index 18ea9b1..730bce1 100644 | |
3 | --- a/cmake/Sqlpp11Config.cmake | |
4 | +++ b/cmake/Sqlpp11Config.cmake | |
5 | @@ -32,7 +32,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/Sqlpp11Targets.cmake") | |
6 | ||
7 | # Import "ddl2cpp" script | |
8 | if(NOT TARGET sqlpp11::ddl2cpp) | |
9 | - get_filename_component(sqlpp11_ddl2cpp_location "${CMAKE_CURRENT_LIST_DIR}/../../../bin/sqlpp11-ddl2cpp" REALPATH) | |
10 | + get_filename_component(sqlpp11_ddl2cpp_location "${CMAKE_CURRENT_LIST_DIR}/../../scripts/sqlpp11-ddl2cpp" REALPATH) | |
11 | if(NOT EXISTS "${sqlpp11_ddl2cpp_location}") | |
12 | message(FATAL_ERROR "The imported target sqlpp11::ddl2cpp references the file '${sqlpp11_ddl2cpp_location}' but this file does not exists.") | |
13 | endif() |