From a6307f7bdd37ac4b60e4133ba937ceae042f89aa Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 16 May 2019 15:47:28 +0200 Subject: [PATCH] Should work if we compile with -DWIN_DO_FULL_INSTALL=YES -DSIMU_TARGET=NO --- companion/src/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index cbcf2a19f..3718a53cc 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -330,8 +330,6 @@ target_link_libraries(${SIMULATOR_NAME} PRIVATE ${CPN_COMMON_LIB}) # Generate list of simulator plugins, used by all platforms file(GLOB simulator_plugins "${CMAKE_BINARY_DIR}/*opentx-*simulator${CMAKE_SHARED_LIBRARY_SUFFIX}") -message(STATUS "Search simulator plugins in ${CMAKE_BINARY_DIR} ...") -message(STATUS ${simulator_plugins}) # the current flavour is not automatically added if build in the current cmake iteration, so always # add its library name to be sure @@ -341,8 +339,8 @@ if(POLICY CMP0026) 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")