mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 13:12:40 +02:00
use standard PlugIns path, fix for makefiles build
This commit is contained in:
parent
e421624e99
commit
6eb96c27e5
1 changed files with 2 additions and 3 deletions
|
@ -12,12 +12,12 @@ macro(SETUP_HIFI_PLUGIN)
|
|||
set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Plugins")
|
||||
|
||||
if (APPLE)
|
||||
set(PLUGIN_PATH "interface.app/Contents/MacOS/plugins")
|
||||
set(PLUGIN_PATH "interface.app/Contents/PlugIns")
|
||||
else()
|
||||
set(PLUGIN_PATH "plugins")
|
||||
endif()
|
||||
|
||||
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_GENERATOR STREQUAL "Unix Makefiles")
|
||||
set(PLUGIN_FULL_PATH "${CMAKE_BINARY_DIR}/interface/${PLUGIN_PATH}/")
|
||||
else()
|
||||
set(PLUGIN_FULL_PATH "${CMAKE_BINARY_DIR}/interface/$<CONFIGURATION>/${PLUGIN_PATH}/")
|
||||
|
@ -35,5 +35,4 @@ macro(SETUP_HIFI_PLUGIN)
|
|||
"$<TARGET_FILE:${TARGET_NAME}>"
|
||||
${PLUGIN_FULL_PATH}
|
||||
)
|
||||
|
||||
endmacro()
|
||||
|
|
Loading…
Reference in a new issue