mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:27:52 +08:00
14 lines
773 B
Diff
14 lines
773 B
Diff
|
diff --git a/cmake/Sqlpp11Config.cmake b/cmake/Sqlpp11Config.cmake
|
||
|
index 720fef2..d8f93b8 100644
|
||
|
--- a/cmake/Sqlpp11Config.cmake
|
||
|
+++ b/cmake/Sqlpp11Config.cmake
|
||
|
@@ -34,7 +34,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/Sqlpp11Targets.cmake")
|
||
|
if(TARGET sqlpp11::ddl2cpp)
|
||
|
message(FATAL_ERROR "Target sqlpp11::ddl2cpp already defined")
|
||
|
endif()
|
||
|
-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()
|