@rpath in plugin
This commit is contained in:
@@ -55,13 +55,12 @@ endif()
|
||||
|
||||
if(APPLE)
|
||||
message("Building for MacOSX Universal into ${PROJECT_BINARY_DIR}/${PLUGIN_NAME}/${BIT}")
|
||||
|
||||
|
||||
set_target_properties(germanairlinesva_xplugin PROPERTIES
|
||||
NO_SONAME 1
|
||||
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Plugin/${PLUGIN_NAME}
|
||||
OUTPUT_NAME mac
|
||||
)
|
||||
|
||||
|
||||
target_compile_definitions(germanairlinesva_xplugin PUBLIC
|
||||
APL
|
||||
)
|
||||
@@ -79,13 +78,13 @@ if(APPLE)
|
||||
)
|
||||
elseif(UNIX)
|
||||
message("Building for Linux ${BIT} into ${PROJECT_BINARY_DIR}/Plugin/${PLUGIN_NAME}/${BIT}")
|
||||
|
||||
|
||||
set_target_properties(germanairlinesva_xplugin PROPERTIES
|
||||
NO_SONAME 1
|
||||
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Plugin/${PLUGIN_NAME}/${BIT}
|
||||
OUTPUT_NAME lin
|
||||
)
|
||||
|
||||
|
||||
target_compile_definitions(germanairlinesva_xplugin PUBLIC
|
||||
LIN
|
||||
)
|
||||
@@ -106,12 +105,12 @@ elseif(UNIX)
|
||||
)
|
||||
elseif(WIN32)
|
||||
message("Building for Windows ${BIT} into ${PROJECT_BINARY_DIR}/Plugin/${PLUGIN_NAME}/${BIT}")
|
||||
|
||||
|
||||
set_target_properties(germanairlinesva_xplugin PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Plugin/${PLUGIN_NAME}/${BIT}
|
||||
OUTPUT_NAME win
|
||||
)
|
||||
|
||||
|
||||
target_compile_definitions(germanairlinesva_xplugin PUBLIC
|
||||
IBM
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user