mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 04:15:11 +00:00
cmake: Use CMAKE_MESSAGE_INDENT if available
This commit is contained in:
parent
56f50fcc54
commit
65afefd0ba
1 changed files with 7 additions and 1 deletions
|
@ -17,6 +17,13 @@
|
|||
# CMake Setup
|
||||
cmake_minimum_required(VERSION 3.13...4.0)
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.19)
|
||||
set(LOGPREFIX "[StreamFX]")
|
||||
else()
|
||||
list(APPEND CMAKE_MESSAGE_INDENT "[StreamFX]")
|
||||
set(LOGPREFIX "")
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
# Configure Type
|
||||
################################################################################
|
||||
|
@ -29,7 +36,6 @@ else()
|
|||
set(GROUPED ON)
|
||||
set(PREFIX "StreamFX_")
|
||||
endif()
|
||||
set(LOGPREFIX "StreamFX:")
|
||||
|
||||
################################################################################
|
||||
# Versioning
|
||||
|
|
Loading…
Reference in a new issue