https://github.com/Kitware/CMake
Revision b148440381df0143a665b7ceebe8606a052e2cdf authored by Hannes Mezger on 04 April 2016, 12:23:23 UTC, committed by Brad King on 05 April 2016, 13:32:08 UTC
Add NAMES_PER_DIR to all find_library invocations so that we consider all possible names in each search directory before moving on to the next directory. Otherwise we may not find self-built libraries first even if they appear early in the search path.
1 parent e0cc8bf
Tip revision: b148440381df0143a665b7ceebe8606a052e2cdf authored by Hannes Mezger on 04 April 2016, 12:23:23 UTC
FindOpenSSL: Prefer libs early in search path regardless of name (#15887)
FindOpenSSL: Prefer libs early in search path regardless of name (#15887)
Tip revision: b148440
CMakeCCompilerABI.c
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#ifdef __CLASSIC_C__
# define const
#endif
/*--------------------------------------------------------------------------*/
#include "CMakeCompilerABI.h"
/*--------------------------------------------------------------------------*/
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_sizeof_dptr[argc];
#if defined(ABI_ID)
require += info_abi[argc];
#endif
(void)argv;
return require;
}
Computing file changes ...