dev: find boost's CMake Config file instead of module (#6499)
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
- Minor: Fixed usercard resizing improperly without recent messages. (#6496)
|
- Minor: Fixed usercard resizing improperly without recent messages. (#6496)
|
||||||
- Dev: Update release documentation. (#6498)
|
- Dev: Update release documentation. (#6498)
|
||||||
- Dev: Make code sanitizers opt in with the `CHATTERINO_SANITIZER_SUPPORT` CMake option. After that's enabled, use the `SANITIZE_*` flag to enable individual sanitizers. (#6493)
|
- Dev: Make code sanitizers opt in with the `CHATTERINO_SANITIZER_SUPPORT` CMake option. After that's enabled, use the `SANITIZE_*` flag to enable individual sanitizers. (#6493)
|
||||||
|
- Dev: Find Boost's CMake Config file instead of module file. (#6499)
|
||||||
- Dev: Fix 32-bit compile in PluginRepl. (#6483)
|
- Dev: Fix 32-bit compile in PluginRepl. (#6483)
|
||||||
- Dev: Fix the WinGet release workflow. (#6497)
|
- Dev: Fix the WinGet release workflow. (#6497)
|
||||||
|
|
||||||
|
|||||||
+1
-4
@@ -1,9 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.15)
|
||||||
cmake_policy(SET CMP0087 NEW) # evaluates generator expressions in `install(CODE/SCRIPT)`
|
cmake_policy(SET CMP0087 NEW) # evaluates generator expressions in `install(CODE/SCRIPT)`
|
||||||
cmake_policy(SET CMP0091 NEW) # select MSVC runtime library through `CMAKE_MSVC_RUNTIME_LIBRARY`
|
cmake_policy(SET CMP0091 NEW) # select MSVC runtime library through `CMAKE_MSVC_RUNTIME_LIBRARY`
|
||||||
if (POLICY CMP0167)
|
|
||||||
cmake_policy(SET CMP0167 NEW) # find Boost's own CMake config file
|
|
||||||
endif ()
|
|
||||||
include(FeatureSummary)
|
include(FeatureSummary)
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH
|
list(APPEND CMAKE_MODULE_PATH
|
||||||
@@ -148,7 +145,7 @@ if (WIN32)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# Find boost on the system
|
# Find boost on the system
|
||||||
find_package(Boost REQUIRED OPTIONAL_COMPONENTS headers)
|
find_package(Boost REQUIRED CONFIG OPTIONAL_COMPONENTS headers)
|
||||||
|
|
||||||
# Find OpenSSL on the system
|
# Find OpenSSL on the system
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ list(APPEND CMAKE_MODULE_PATH
|
|||||||
project(twitch-eventsub-ws VERSION 0.1.0)
|
project(twitch-eventsub-ws VERSION 0.1.0)
|
||||||
|
|
||||||
# Find boost on the system
|
# Find boost on the system
|
||||||
find_package(Boost REQUIRED OPTIONAL_COMPONENTS json)
|
find_package(Boost REQUIRED CONFIG OPTIONAL_COMPONENTS json)
|
||||||
|
|
||||||
# Find OpenSSL on the system
|
# Find OpenSSL on the system
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
|
|||||||
Reference in New Issue
Block a user