chen2142
chen2142
me too. It seems didn't change the header.
感谢,安装了cmake3.31后确实成功了
大佬们,小白又遇到个问题。我在尝试整合进我的项目的时候,把整个项目目录下到了我的 src/utils下,即整个目录路径是 `xxxx(我的项目名字)/src/utils/ormpp` 这个时候使用 ```cmake set(ENABLE_PG ON) add_definitions(-DORMPP_ENABLE_PG) add_subdirectory(/src/utils/ormpp) ``` 或是 ```cmake set(ENABLE_PG ON) add_definitions(-DORMPP_ENABLE_PG) add_library(ormpp INTERFACE) include(src/utils/ormpp/cmake/pgsql.cmake) target_link_libraries(ormpp INTERFACE ${PGSQL_LIBRARY}) target_include_directories(ormpp INTERFACE ormpp src/utils/ormpp/ormpp ${PGSQL_INCLUDE_DIR}) ``` 都不行,因为会报这个错误 ``` src/utils/ormpp/example/main.cpp:10:10:...