Policy CMP0054 warning in FindOpenMP.cmake
I'm using cmake 3.9.0 (Debian package version 3.9.0-1) and I get the following warning:
CMake Warning (dev) at /usr/share/cmake-3.9/Modules/FindOpenMP.cmake:200 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "c" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /usr/share/cmake-3.9/Modules/FindOpenMP.cmake:324 (_OPENMP_GET_FLAGS) CMakeLists_MatrixSolver.txt:75 (find_package) CMakeLists.txt:76 (include) This warning is for project developers. Use -Wno-dev to suppress it.
Line 75 of my file