There was an error while loading. Please reload this page.
1 parent 64fdeb2 commit 8486229Copy full SHA for 8486229
1 file changed
CMakeLists.txt
@@ -4,10 +4,6 @@ set (CMAKE_BUILD_TYPE Release CACHE STRING "Build type")
4
5
project (swig)
6
7
-if (POLICY CMP0074)
8
- cmake_policy (SET CMP0074 NEW)
9
-endif()
10
-
11
file (STRINGS configure.ac line LIMIT_COUNT 1 REGEX "AC_INIT\\(.*\\)" )
12
if (line MATCHES "AC_INIT\\(\\[(.*)\\],[ \t]*\\[(.*)\\],[ \t]*\\[(.*)\\]\\)" )
13
set (SWIG_VERSION ${CMAKE_MATCH_2})
0 commit comments