]> git.mxchange.org Git - flightgear.git/commitdiff
Cmake: fix SimGear version check for MSVC
authorFrederic Bouvier <fredfgfs01@free.fr>
Mon, 3 Jan 2011 17:58:15 +0000 (18:58 +0100)
committerFrederic Bouvier <fredfgfs01@free.fr>
Mon, 3 Jan 2011 17:58:15 +0000 (18:58 +0100)
CMakeModules/FindSimGear.cmake

index d6a4b7ba93b2eb2c8be3b8de36c5ee14074b2baf..aae8e040b52216095311c4e80a2ae294b362a14a 100644 (file)
@@ -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