Skip to content

Commit

Permalink
CMake: set policy CMP0148 to old
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Feb 22, 2024
1 parent 89a1dc0 commit 90ede97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ if (POLICY CMP0072)
set(OpenGL_GL_PREFERENCE LEGACY)
endif(POLICY CMP0072)

# FindPythonInterp and FindPythonLibs modules are deprecated.
# Currently, they are still used by shiboken's CMake files
if (POLICY CMP0148)
cmake_policy(SET CMP0148 OLD)
endif()

option(FREECAD_USE_CCACHE "Auto detect and use ccache during compilation" ON)

if(FREECAD_USE_CCACHE)
Expand Down

0 comments on commit 90ede97

Please sign in to comment.