Windows compilation fight

This commit is contained in:
Bertrand Songis
2019-05-16 15:33:56 +02:00
parent 3d4a81c5c4
commit d60c097669
+3 -3
View File
@@ -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}")