Open mk-95 opened 2 years ago
Hello, thanks for submitting this issue! I am not sure why this is happening as it should not have any problems with header only projects. Just to confirm, you added the .hpp
file to the list of headers and sources used by CMake, right?
Yes, I have added the .hpp
file to the list of headers and sources in the CMake directory.
Describe the bug when using the BUILD_HEADERS_ONLY option, cmake fails
To Reproduce Steps to reproduce the behavior:
add
FUNCTION IN./include/project/temp.hpp
Generate cmake to get the following:
-- * CMake Error at CMakeLists.txt:91 (endforeach): endforeach An ENDFOREACH command was found outside of a proper FOREACH ENDFOREACH structure. Or its arguments did not match the opening FOREACH command.