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:
parent
87a31b5b7f
commit
0a10958a88
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue