Q:

Migration from Makefile to CMake: -I

We have an old compilation script in Makefile and would like to start using CMake.
Does anyone perhaps know what would be the equivalent of -I from Makefile in CMake?
This is the concrete line:
"-I gem5-stable/util/m5 gem5-stable/util/m5/m5op_x86.S"

A:

It would help to see your actual CMake file, but you may want to take a look at target_link_libraries.

