Hello,
i’ve troubles to include a .cmake files that i’ve saved in ${CMAKE_SOURCE_DIR}
but i adde:
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/buildsytem/cmake)
include("buildtools")
but the path buildsystem/cmake exists and the file buildtools.cmake also existsl… what am i doing wrong here ?
i get the error message:
Make Error at CMakeLists.txt:6 (include):
include could not find requested file:
basictools
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/buildsytem/cmake)
include("basictools")
and the file /buildsystem/cmake/basictools.cmake exists.
MODERATOR NOTE: This thread is essentially posting the same thing as your earlier thread, and even within this post you have repeated an earlier comment with no new information in a later post. Please do not open multiple threads on the same topic or add new posts that simply repeat details. You should be able to edit your own posts if you want to fix or improve them later (within reason, you may find the spam bot blocks you if you do it more than once or twice).
It looks like your list()
command has a typo. It specifies buildsytem
instead of buildsystem
.
thank you, i really have to look closer to the stuff i type