From dd0d03ea1d63d60e8854b66174858a911bb1ecd3 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 5 Apr 2017 21:34:48 +0900 Subject: [PATCH] Fix build on Windows. --- src/Main/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt index a8c47a7df..214d62f5b 100644 --- a/src/Main/CMakeLists.txt +++ b/src/Main/CMakeLists.txt @@ -185,6 +185,6 @@ if(ENABLE_METAR) install(TARGETS metar RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif() -if (ENABLE_TESTS) +if (COMMAND flightgear_test) flightgear_test(posinit test_posinit.cxx) endif()