ComputationalRadiationPhysics / cuda_memtest

Fork of CUDA GPU memtest :eyeglasses:
http://sourceforge.net/projects/cudagpumemtest
110 stars 31 forks source link

CMake: fix warning CMP0023 #28

Closed psychocoderHPC closed 3 years ago

psychocoderHPC commented 3 years ago

fix warning

Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The keyword signature for target_link_libraries has already been used with
  the target "cuda_memtest".  All uses of target_link_libraries with a target
  should be either all-keyword or all-plain.

  The uses of the keyword signature are here:
psychocoderHPC commented 3 years ago

This is only a quick fix this project needs a complete cmake refactoring.

psychocoderHPC commented 3 years ago

ohh no the CI needs also some love :-(

ax3l commented 3 years ago

yeah, I think you can merge this anyway and migrate to GH actions or so later.

psychocoderHPC commented 3 years ago

yeah, I think you can merge this anyway and migrate to GH actions or so later.

I merged it and opened an issue for the CI problem #29