only change.

This commit is contained in:
taynpg 2024-11-04 21:44:05 +08:00
parent 88fcd7702b
commit 57f8b37a42

View File

@ -23,7 +23,9 @@ set(SOURCES_FILE
) )
# boost # boost
cmake_policy(SET CMP0167 NEW) if (${CMAKE_VERSION} VERSION_GREATER "3.30")
cmake_policy(SET CMP0167 NEW)
endif()
set(Boost_USE_STATIC_LIBS OFF) set(Boost_USE_STATIC_LIBS OFF)
find_package(Boost REQUIRED program_options filesystem) find_package(Boost REQUIRED program_options filesystem)
include_directories(${Boost_INCLUDE_DIR}) include_directories(${Boost_INCLUDE_DIR})