You can use target_compile_definitions(mytgt PRIVATE prayutsu)
to add the -D
flag for the mytgt
target (probably added via add_executable(mytgt)
).
1 Like
You can use target_compile_definitions(mytgt PRIVATE prayutsu)
to add the -D
flag for the mytgt
target (probably added via add_executable(mytgt)
).