CMake: search only for C++ compiler (#192)
This speeds up the CMake configuration step by not searching for a C compiler. By default, CMake looks for C and C++ compilers, unless a set of compilation languages is specified.
This commit is contained in:
parent
3c73d91c0b
commit
c19e267790
@ -30,7 +30,7 @@ endforeach()
|
||||
set(VERSION ${CXXOPTS__VERSION_MAJOR}.${CXXOPTS__VERSION_MINOR}.${CXXOPTS__VERSION_PATCH})
|
||||
message(STATUS "cxxopts version ${VERSION}")
|
||||
|
||||
project(cxxopts VERSION "${VERSION}")
|
||||
project(cxxopts VERSION "${VERSION}" LANGUAGES CXX)
|
||||
|
||||
enable_testing()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user