2009/1/29 ankit jain <[email protected]>: > hi all, > i have a c file in a folder which contain the line #include "%h" which says > compile the file with -I option with gcc to tell where %h is located. > but in cmake as i already add the header files by defining the path through > a variable and add it through include_directories command. it still give > error on compiling that %h: no such file or directory found. > > I am not able to understand how to remove it through cmake.
Please code an minimal example and show us the gcc command line which works. Best, -- Maik _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
