add_compile_options is more sensitive to its location in the file than add_definitions--it only takes effect for sources that are added after it. This updated patch ensures that the add_compile_options is done before adding any source files that depend on it. Using add_definitions caused the flag to be passed to rc.exe on Windows and thus broke Windows builds. |
||
|---|---|---|
| .. | ||
| examples | ||
| tests | ||
| .clang-format | ||
| .clang-tidy | ||
| CMakeLists.txt | ||
| Doxyfile.in | ||
| LICENSE.TXT | ||
| acxxel.cpp | ||
| acxxel.h | ||
| config.h.in | ||
| cuda_acxxel.cpp | ||
| customdoxygen.css | ||
| opencl_acxxel.cpp | ||
| span.h | ||
| status.h | ||