mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 19:56:44 +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")
|
set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Plugins")
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(PLUGIN_PATH "interface.app/Contents/MacOS/plugins")
|
set(PLUGIN_PATH "interface.app/Contents/PlugIns")
|
||||||
else()
|
else()
|
||||||
set(PLUGIN_PATH "plugins")
|
set(PLUGIN_PATH "plugins")
|
||||||
endif()
|
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}/")
|
set(PLUGIN_FULL_PATH "${CMAKE_BINARY_DIR}/interface/${PLUGIN_PATH}/")
|
||||||
else()
|
else()
|
||||||
set(PLUGIN_FULL_PATH "${CMAKE_BINARY_DIR}/interface/$<CONFIGURATION>/${PLUGIN_PATH}/")
|
set(PLUGIN_FULL_PATH "${CMAKE_BINARY_DIR}/interface/$<CONFIGURATION>/${PLUGIN_PATH}/")
|
||||||
|
@ -35,5 +35,4 @@ macro(SETUP_HIFI_PLUGIN)
|
||||||
"$<TARGET_FILE:${TARGET_NAME}>"
|
"$<TARGET_FILE:${TARGET_NAME}>"
|
||||||
${PLUGIN_FULL_PATH}
|
${PLUGIN_FULL_PATH}
|
||||||
)
|
)
|
||||||
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
Loading…
Reference in a new issue