Skip to content

Commit

Permalink
Set CMP0094 to NEW
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Oct 29, 2023
1 parent f4d1216 commit b3c137f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ enable_language(C)
## FindACE requires CXX
enable_language(CXX)

## Set CMP0094 to NEW
if(POLICY CMP0094)
cmake_policy(SET CMP0094 NEW)
endif ()

# Disable in source build
if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
message(FATAL_ERROR "In-source builds of robotology-superbuild are not allowed. "
Expand Down

0 comments on commit b3c137f

Please sign in to comment.