PATH vs. /include dir
What is the difference between setting a dir in PATH environment variable and setting that dir within INCLUDE_DIRECTORIES of CMakeLists.txt ?
Updated by Wim Dumon about 9 years ago
- Status changed from New to Feedback
PATH is where your operating system will search for executables (and DLLs on windows).
INCLUDE_DIRECTORIES in CMakeLists.txt is where your compiler (preprocessor) will search for include files when it encounters #include directives in the source code.