2022-07-06 06:35:30 +08:00
|
|
|
diff --git a/cmake/configs/Sqlpp11Config.cmake b/cmake/configs/Sqlpp11Config.cmake
|
|
|
|
index c50a71a..96d0c5b 100644
|
|
|
|
--- a/cmake/configs/Sqlpp11Config.cmake
|
|
|
|
+++ b/cmake/configs/Sqlpp11Config.cmake
|
|
|
|
@@ -51,7 +51,7 @@ endforeach()
|
|
|
|
|
2020-06-11 08:52:14 +08:00
|
|
|
# Import "ddl2cpp" script
|
|
|
|
if(NOT TARGET sqlpp11::ddl2cpp)
|
|
|
|
- get_filename_component(sqlpp11_ddl2cpp_location "${CMAKE_CURRENT_LIST_DIR}/../../../bin/sqlpp11-ddl2cpp" REALPATH)
|
|
|
|
+ get_filename_component(sqlpp11_ddl2cpp_location "${CMAKE_CURRENT_LIST_DIR}/../../scripts/sqlpp11-ddl2cpp" REALPATH)
|
|
|
|
if(NOT EXISTS "${sqlpp11_ddl2cpp_location}")
|
|
|
|
message(FATAL_ERROR "The imported target sqlpp11::ddl2cpp references the file '${sqlpp11_ddl2cpp_location}' but this file does not exists.")
|
|
|
|
endif()
|