'How to add il.h path from Devil to CMakeList
I need to use Devil for a school project and im having a bit of trouble.
The #include <IL/il.h> says 'IL/il.h' file not found, so im trying to add the .h path to CMakeList.
I install Devil with homebrew and add the following to CMakeList:
include_directories(/opt/homebrew/Cellar/devil/1.8.0_3/include/IL)
And
add_executable(IL/il.h)
But i get this error:
CMake Error at CMakeLists.txt:16 (add_executable): The target name "IL/il.h" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
