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.
This commit is contained in:
Brad King 2008-08-30 10:32:52 -04:00
parent 87a31b5b7f
commit 0a10958a88
2 changed files with 3 additions and 2 deletions

View File

@ -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)