All include directives for gpsim headers are done using the gpsim/ prefix,
e.g. #include "gpsim/stimuli.h"
So the include directories passed to the compiler need to point to the
path before the gpsim subdir.
This has been broken since the first FindGPSim.cmake version, the existing
include directives only ever worked by chance if the installation prefix
of gpsim was the system one or one of the other dependencies whose include
dirs matched the one where the gpsim subdir was present.
Details
Details
- Reviewers
padrah - Commits
- R496:10b509ce39dc: Fix GPSim_INCLUDE_DIR to not include gpsim/ prefix
Diff Detail
Diff Detail
- Repository
- R496 KTechlab
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Looks good. Most probably the gpsim path has been in system path, so it has been actually working.