Attempt to use VERSION string for CMakeLists.txt

See Issue 953, https://github.com/bulletphysics/bullet3/issues/953
This commit is contained in:
Erwin Coumans
2017-02-07 19:15:22 -08:00
parent 46c7974927
commit 04b3e88cde

View File

@@ -5,7 +5,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
SET(MSVC_INCREMENTAL_DEFAULT ON)
PROJECT(BULLET_PHYSICS)
SET(BULLET_VERSION 2.85)
FILE (STRINGS "VERSION" BULLET_VERSION)
IF(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)