Skip to content

Commit

Permalink
Remove redundant policy from CMakeLists.txt
Browse files Browse the repository at this point in the history
It is already defined through cmake/init.cmake
  • Loading branch information
JulianGro authored Jul 23, 2023
1 parent 012098b commit 15ef70d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@ else()
COMMAND ${HIFI_PYTHON_EXEC} ${CMAKE_CURRENT_SOURCE_DIR}/prebuild.py --release-type ${RELEASE_TYPE} --build-root ${CMAKE_BINARY_DIR} ${VCPKG_BUILD_TYPE_PARAM}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} RESULTS_VARIABLE PREBUILD_RET
)
# squelch the Policy CMP0074 warning without requiring an update to cmake 3.12.
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
cmake_policy(SET CMP0074 NEW)
endif()
endif()

if (PREBUILD_RET GREATER 0)
Expand Down

0 comments on commit 15ef70d

Please sign in to comment.