Skip to content

Commit

Permalink
CMake: set CMP0074 policy explicitly to avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sayerhs authored and rafmudaf committed Nov 9, 2020
1 parent 8272750 commit 3d170cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions glue-codes/openfast-cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
# limitations under the License.
#

if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.12.0")
cmake_policy(SET CMP0074 NEW)
endif()

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

Expand Down

0 comments on commit 3d170cc

Please sign in to comment.