Board index FlightGear Support Compiling

build with openRTI fails  Topic is solved

Building FlightGear from source, and in the need for help?

Re: build with openRTI fails

Postby bugman » Tue Feb 23, 2016 2:42 pm

For the record, as this will hopefully be merged in the near future, the boost test errors are due to a typo that has always been present but that only seems to affect MS Windows. The fix is simple enough:

Code: Select all
diff --git a/CMakeModules/BoostTestTargets.cmake b/CMakeModules/BoostTestTargets.cmake
index a858cfa..3da3126 100644
--- a/CMakeModules/BoostTestTargets.cmake
+++ b/CMakeModules/BoostTestTargets.cmake
@@ -157,7 +157,7 @@ function(add_boost_test _name)
                endforeach()
 
                if(NOT _boostTestTargetsNagged${_name} STREQUAL "${includeType}")
-                       if("includeType" STREQUAL "CONFIGURED")
+                       if("${includeType}" STREQUAL "CONFIGURED")
                                message(STATUS
                                        "Test '${_name}' uses the CMake-configurable form of the boost test framework - congrats! (Including File: ${includeFileLoc})")
                        elseif("${includeType}" STREQUAL "INCLUDED")


Regards,
Edward
bugman
Moderator
 
Posts: 1737
Joined: Thu Mar 19, 2015 9:01 am
Version: next

Re: build with openRTI fails

Postby hamzaalloush » Tue Feb 23, 2016 6:04 pm

Thank you Edward,

you have been a strong driving force towards positive change in Flightgear, and i hope you continue to do so.
hamzaalloush
 
Posts: 632
Joined: Sat Oct 26, 2013 9:31 am
OS: Windows 10

Previous

Return to Compiling

Who is online

Users browsing this forum: No registered users and 2 guests