Explorar o código

BUG: Fix Unset test on VS 6

Visual Studio 6 does not recognize .cc as a C++ extension by default.
Simplify the test to be C-only and use a .c extension.
Brad King %!s(int64=17) %!d(string=hai) anos
pai
achega
0a10958a88
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      Tests/Unset/CMakeLists.txt
  2. 0 0
      Tests/Unset/unset.c

+ 3 - 2
Tests/Unset/CMakeLists.txt

@@ -1,4 +1,5 @@
-project(Unset)
+cmake_minimum_required(VERSION 2.6)
+project(Unset C)
 
 # Local variable
 set(x 42)
@@ -37,4 +38,4 @@ if(DEFINED BAR)
 endif(DEFINED BAR)
 
 
-add_executable(Unset unset.cc)
+add_executable(Unset unset.c)

+ 0 - 0
Tests/Unset/unset.cc → Tests/Unset/unset.c