Merge topic 'test-CheckModules-speedup'
78be3247
Tests: Speed up RunCMake.CheckModules test
This commit is contained in:
commit
3c23873e04
|
@ -1,3 +1,3 @@
|
|||
cmake_minimum_required(VERSION 2.8.11)
|
||||
project(${RunCMake_TEST})
|
||||
project(${RunCMake_TEST} NONE)
|
||||
include(${RunCMake_TEST}.cmake)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
enable_language(C)
|
||||
enable_language(CXX)
|
||||
include(CheckStructHasMember)
|
||||
check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC)
|
||||
check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_C LANGUAGE C)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
enable_language(C)
|
||||
enable_language(CXX)
|
||||
include(CheckTypeSize)
|
||||
check_type_size(int SIZEOF_INT)
|
||||
check_type_size(int SIZEOF_INT BUILTIN_TYPES_ONLY)
|
||||
|
|
Loading…
Reference in New Issue