Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5449bdd

Browse files
authored
cleanup cmake log (#1589)
1 parent54cc947 commit5449bdd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

‎CMakeLists.txt‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.24.0 FATAL_ERROR)
2-
set(CMAKE_CXX_STANDARD 17)
3-
set(CMAKE_CXX_STANDARD_REQUIREDON)
2+
3+
if(POLICY CMP0177)
4+
cmake_policy(SET CMP0177 NEW)
5+
endif()
46

57
set(CMAKE_CXX_STANDARD 17)
68
set(CMAKE_CXX_STANDARD_REQUIREDON)
@@ -128,6 +130,14 @@ if(NOT libcurl_POPULATED)
128130
set(CURL_USE_OPENSSLOFFCACHEBOOL"")
129131
set(SSH2CURL_USE_LIBOFFCACHEBOOL"")
130132
set(CURL_USE_LIBSSH2OFFCACHEBOOL"")
133+
set(CMAKE_DISABLE_FIND_PACKAGE_PerlONCACHEBOOL"" FORCE)
134+
set(CMAKE_DISABLE_FIND_PACKAGE_ZLIBONCACHEBOOL"" FORCE)
135+
set(CMAKE_DISABLE_FIND_PACKAGE_LibPSLONCACHEBOOL"" FORCE)
136+
set(USE_LIBIDN2OFFCACHEBOOL"" FORCE)
137+
set(USE_LIBPSLOFFCACHEBOOL"" FORCE)
138+
set(CURL_ZLIBOFFCACHEBOOL"" FORCE)
139+
set(CMAKE_USE_SCHANNELONCACHEBOOL"" FORCE)
140+
131141
FetchContent_Populate(libcurl)
132142
add_subdirectory(${libcurl_SOURCE_DIR}${libcurl_BINARY_DIR}EXCLUDE_FROM_ALL)
133143
endif()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp