From d60c0976698ec4fd0468349cfdf427abd863d6ee Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 16 May 2019 15:33:56 +0200 Subject: [PATCH] Windows compilation fight --- companion/src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index 072135a03..cbcf2a19f 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -339,9 +339,10 @@ string(TOLOWER ${PCB} FLAVOUR) if(POLICY CMP0026) cmake_policy(SET CMP0026 OLD) # https://cmake.org/cmake/help/v3.0/policy/CMP0026.html endif() + if(SIMU_TARGET) - get_property(current_plugin TARGET opentx-${FLAVOUR}-simulator PROPERTY LOCATION) - list(APPEND simulator_plugins "${current_plugin}") + # get_property(current_plugin TARGET opentx-${FLAVOUR}-simulator PROPERTY LOCATION) + # list(APPEND simulator_plugins "${current_plugin}") endif() if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") @@ -370,7 +371,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(OperatingSystem "Linux") elseif(WIN32) - if(NOT WIN_DO_FULL_INSTALL) # Just copy supporting DLLs to build folder set(INSTALL_DESTINATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")