vcpkg/ports/sqlpp11/ddl2cpp_path.patch
yurybura f9c7bf832b
[sqlpp11] update to v0.59 (#11771)
* [sqlpp11] update to v0.59
[sqlpp11-connector-mysql] support MySQL connector

* [cpp-taskflow][fastrtps] update hashes to fix ci

* revert "[cpp-taskflow][fastrtps] update hashes to fix ci"

* [sqlpp11] add homepage
2020-06-10 17:52:14 -07:00

14 lines
741 B
Diff

diff --git a/cmake/Sqlpp11Config.cmake b/cmake/Sqlpp11Config.cmake
index 18ea9b1..730bce1 100644
--- a/cmake/Sqlpp11Config.cmake
+++ b/cmake/Sqlpp11Config.cmake
@@ -32,7 +32,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/Sqlpp11Targets.cmake")
# 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()