Skip to content

Support building poco 1.8.0 as cmake sub-project#1991

Closed
guruofquality wants to merge 1 commit intopocoproject:masterfrom
pothosware:CXX1x_cmake_project_vars
Closed

Support building poco 1.8.0 as cmake sub-project#1991
guruofquality wants to merge 1 commit intopocoproject:masterfrom
pothosware:CXX1x_cmake_project_vars

Conversation

@guruofquality
Copy link
Copy Markdown
Contributor

I support optionally building poco as a cmake subproject/git submodule. After updating to 1.8.0 series, I had to make the following minor change due to use of cmake variables. This is a pretty simple substitution and should be non-breaking for any use case.

The key here was replacing a few instances of CMAKE_SOURCE_DIR with PROJECT_SOURCE_DIR so cmake/test_compiler.cpp can be properly located in cmake/CXX1x.cmake. I also replaced CMAKE_BINARY_DIR with PROJECT_BINARY_DIR in this file to be consistent, but that wasn't actually an issue.

The key here was replacing a few instances of CMAKE_SOURCE_DIR with PROJECT_SOURCE_DIR so cmake/test_compiler.cpp can be properly located in cmake/CXX1x.cmake.
@obiltschnig obiltschnig added this to the Release 1.8.1 milestone Nov 11, 2017
@obiltschnig obiltschnig self-assigned this Nov 11, 2017
obiltschnig added a commit that referenced this pull request Dec 18, 2017
@obiltschnig
Copy link
Copy Markdown
Member

Merged manually. Please don't submit pull requests against master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants