Windows compilation fight
This commit is contained in:
@@ -339,9 +339,10 @@ string(TOLOWER ${PCB} FLAVOUR)
|
|||||||
if(POLICY CMP0026)
|
if(POLICY CMP0026)
|
||||||
cmake_policy(SET CMP0026 OLD) # https://cmake.org/cmake/help/v3.0/policy/CMP0026.html
|
cmake_policy(SET CMP0026 OLD) # https://cmake.org/cmake/help/v3.0/policy/CMP0026.html
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SIMU_TARGET)
|
if(SIMU_TARGET)
|
||||||
get_property(current_plugin TARGET opentx-${FLAVOUR}-simulator PROPERTY LOCATION)
|
# get_property(current_plugin TARGET opentx-${FLAVOUR}-simulator PROPERTY LOCATION)
|
||||||
list(APPEND simulator_plugins "${current_plugin}")
|
# list(APPEND simulator_plugins "${current_plugin}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
@@ -370,7 +371,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|||||||
set(OperatingSystem "Linux")
|
set(OperatingSystem "Linux")
|
||||||
|
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
|
|
||||||
if(NOT WIN_DO_FULL_INSTALL)
|
if(NOT WIN_DO_FULL_INSTALL)
|
||||||
# Just copy supporting DLLs to build folder
|
# Just copy supporting DLLs to build folder
|
||||||
set(INSTALL_DESTINATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
|
set(INSTALL_DESTINATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
|
||||||
|
|||||||
Reference in New Issue
Block a user