hughperkins / coriander

Build NVIDIA® CUDA™ code for OpenCL™ 1.2 devices
Apache License 2.0
842 stars 88 forks source link

CMake issues #75

Open KOLANICH opened 6 years ago

KOLANICH commented 6 years ago

In CMake language is used incorrectly. Here I gonna collect issues with it.

  1. https://github.com/hughperkins/coriander/blob/master/CMakeLists.txt#L114 -
    • one shouldn't set C++ standard via flags, there exists a CMake function for that
    • flags should be appended, not set