Essentially, there are 2 styles: "old" and "new" on calls to target_link_libraries. Was using a mix, but cmake wants them all to use one or the other, or you will get errors like this:
CMake Error at example/CMakeLists.txt:96 (target_link_libraries):
The plain signature for target_link_libraries has already been used with
the target "pntr_app_example_raylib". All uses of target_link_libraries
with a target must be either all-keyword or all-plain.
The uses of the plain signature are here:
* example/CMakeLists.txt:91 (target_link_libraries)
* example/CMakeLists.txt:92 (target_link_libraries)
* example/CMakeLists.txt:93 (target_link_libraries)
Essentially, there are 2 styles: "old" and "new" on calls to
target_link_libraries
. Was using a mix, but cmake wants them all to use one or the other, or you will get errors like this: