Browse Source

Fix version variable bug

The variables had the wrong names, and wouldn't work properly.
pull/60/head
JosiahWI 10 months ago
committed by sfan5
parent
commit
f9078a6a12
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5)
# Set policies up to 3.9 since we want to enable the IPO option
if(${CMAKE_VERSION} VERSION_LESS 3.9)
cmake_policy(VERSION ${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR})
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
else()
cmake_policy(VERSION 3.9)
endif()

Loading…
Cancel
Save