I have a CMakeList.txt file that has only one include(startevn.cmake) liner include(startevn.cmake) in startevn.cmake I have,
project(startevn) set(headers startup.h ) set(sources system-init.cpp ) new_library(startevn ${sources} ${headers})
Now I need to move the launch to another directory. After that, I added the following line for "startevn.cmake",
include_directories("/new_folder_location/sub_folder")
where sub_folder is where startup.h is now located, but the compiler still says Cannot find the source file: startup.h. What am I doing wrong?
source share