Should work if we compile with -DWIN_DO_FULL_INSTALL=YES -DSIMU_TARGET=NO
This commit is contained in:
@@ -330,8 +330,6 @@ target_link_libraries(${SIMULATOR_NAME} PRIVATE ${CPN_COMMON_LIB})
|
|||||||
|
|
||||||
# Generate list of simulator plugins, used by all platforms
|
# Generate list of simulator plugins, used by all platforms
|
||||||
file(GLOB simulator_plugins "${CMAKE_BINARY_DIR}/*opentx-*simulator${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
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
|
# the current flavour is not automatically added if build in the current cmake iteration, so always
|
||||||
# add its library name to be sure
|
# add its library name to be sure
|
||||||
@@ -341,8 +339,8 @@ if(POLICY CMP0026)
|
|||||||
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user