Remove enable_language from language modules

Notice that cxx.cmake reference, incorrectly, CMAKE_C_COMPILER instead of CMAKE_CXX_COMPILER
This commit is contained in:
Roberto Di Remigio
2017-04-07 17:58:52 +02:00
parent 28b9ba022c
commit 98ba4cf3b2
6 changed files with 13 additions and 13 deletions

View File

@ -25,8 +25,6 @@
# export: "'CC={0}'.format(arguments['--cc'])"
# define: "'-DEXTRA_CFLAGS=\"{0}\"'.format(arguments['--extra-cc-flags'])"
enable_language(C)
if(NOT DEFINED CMAKE_C_COMPILER_ID)
message(FATAL_ERROR "CMAKE_C_COMPILER_ID variable is not defined!")
endif()