Closed yatli closed 3 years ago
I was using libcuckoo as a git submodule in my cmake project, so CMAKE_SOURCE_DIR
actually points to my project root.
How about $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/..
?
Please see https://github.com/efficient/libcuckoo/pull/139/commits/b9cbd3e2d115cebce94f4c1358b1c2219fb43633 for an alternative approach
This can be abandoned, now that my alternative approach was merged.
Hi @yatli, I believe the setting to
CMAKE_SOURCE_DIR
is intentional. I'm trying to enforce that when including the library, you must include it asrather than
Does that seem like the right way to enforce this?