Skip to content

Commit

Permalink
reduce required cmake version
Browse files Browse the repository at this point in the history
Change-Id: I5b3bf8b7f60ec343dd78998ddc02c287d523a0b4
  • Loading branch information
rdementi committed Jan 11, 2025
1 parent 1d8d1da commit 616521a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2022-2025, Intel Corporation

cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.5)

project(PCM)

Expand Down Expand Up @@ -158,7 +158,7 @@ add_library(PCM_PUGIXML INTERFACE) # interface library for pugixml
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/src/pugixml/src/pugixml.cpp")
message(STATUS "Local pugixml exists: ${CMAKE_CURRENT_SOURCE_DIR}/src/pugixml/src/pugixml.cpp")
set(PCM_PUGIXML_CPP ${CMAKE_CURRENT_SOURCE_DIR}/src/pugixml/src/pugixml.cpp)
add_compile_definitions(PCM_PUGIXML_AVAILABLE)
add_compile_options(-DPCM_PUGIXML_AVAILABLE)
else()
message(STATUS "Local pugixml doesn't exist")
# message(WARNING
Expand Down

0 comments on commit 616521a

Please sign in to comment.