mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-02 16:49:04 +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_minimum_required(VERSION 3.15)
|
||||
# Add MSVC runtime library selection flags automatically:
|
||||
cmake_policy(SET CMP0091 OLD)
|
||||
# Don't override the warning flags in MSVC:
|
||||
cmake_policy(SET CMP0092 NEW)
|
||||
cmake_minimum_required(VERSION 3.12.4)
|
||||
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.15)
|
||||
# Add MSVC runtime library selection flags automatically:
|
||||
cmake_policy(SET CMP0091 OLD)
|
||||
# Don't override the warning flags in MSVC:
|
||||
cmake_policy(SET CMP0092 NEW)
|
||||
endif ()
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
|
||||
include(DownloadExternals)
|
||||
include(CMakeDependentOption)
|
||||
|
||||
Reference in New Issue
Block a user