Skip to content

Commit 175d0ac

Browse files
vadzras0219-msft
authored andcommitted
Require at least CMake 3.1 due to use of target_sources (microsoft#752)
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 microsoft#633.
1 parent 3439ea4 commit 175d0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
2-
cmake_minimum_required(VERSION 3.0)
2+
cmake_minimum_required(VERSION 3.1)
33
if(POLICY CMP0042)
44
cmake_policy(SET CMP0042 NEW) # use MACOSX_RPATH
55
endif()

0 commit comments

Comments
 (0)