mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 00:38:58 +00:00
Fix LGTM.com not being able to analyse
This commit is contained in:
+7
-5
@@ -1,9 +1,11 @@
|
|||||||
# CMake 3.12.4 required for 20 to be a valid value for CXX_STANDARD
|
# CMake 3.12.4 required for 20 to be a valid value for CXX_STANDARD
|
||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.12.4)
|
||||||
# Add MSVC runtime library selection flags automatically:
|
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.15)
|
||||||
cmake_policy(SET CMP0091 OLD)
|
# Add MSVC runtime library selection flags automatically:
|
||||||
# Don't override the warning flags in MSVC:
|
cmake_policy(SET CMP0091 OLD)
|
||||||
cmake_policy(SET CMP0092 NEW)
|
# Don't override the warning flags in MSVC:
|
||||||
|
cmake_policy(SET CMP0092 NEW)
|
||||||
|
endif ()
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
|
||||||
include(DownloadExternals)
|
include(DownloadExternals)
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
|
|||||||
Reference in New Issue
Block a user