Skip to content

Commit

Permalink
Require at least CMake 3.1 due to use of target_sources (#752)
Browse files Browse the repository at this point in the history
target_sources() is only available since this version and this avoids

CMake Error at src/CMakeLists.txt:92 (target_sources):
  Unknown CMake command "target_sources".

when using CMake 3.0, for example.

Closes #633.
  • Loading branch information
vadz authored and ras0219-msft committed May 5, 2018
1 parent 3439ea4 commit 175d0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Release/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.1)
if(POLICY CMP0042)
cmake_policy(SET CMP0042 NEW) # use MACOSX_RPATH
endif()
Expand Down

0 comments on commit 175d0ac

Please sign in to comment.