Cmake: fix SimGear version check for MSVC
This commit is contained in:
parent
f032943f46
commit
c8bdf8c198
1 changed files with 2 additions and 1 deletions
|
@ -131,10 +131,11 @@ include(CheckCXXSourceRuns)
|
|||
message(STATUS "looking for version: ${SimGear_FIND_VERSION}")
|
||||
|
||||
SET(CMAKE_REQUIRED_INCLUDES ${SIMGEAR_INCLUDE_DIR})
|
||||
message(STATUS "Version Simgear include " ${CMAKE_REQUIRED_INCLUDES})
|
||||
|
||||
check_cxx_source_runs(
|
||||
"#include <cstdio>
|
||||
#include <simgear/version.h>
|
||||
#include \"simgear/version.h\"
|
||||
|
||||
#define xstr(s) str(s)
|
||||
#define str(s) #s
|
||||
|
|
Loading…
Reference in a new issue