Skip to content

Commit

Permalink
Attempt in fixing OSX-Linux configure
Browse files Browse the repository at this point in the history
  • Loading branch information
lanierd-adsk committed Jul 8, 2024
1 parent 310f54b commit 9c62794
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,18 @@ target_link_libraries(${TARGET_NAME}
# install
# -----------------------------------------------------------------------------

set(PLUG_INFO_FILE "plugInfo.json")

if(IS_WINDOWS)
set(PLUG_INFO_PATH "Windows/plugInfo.json")
set(PLUG_INFO_PATH "Windows/${PLUG_INFO_FILE}")
else(
if(IS_MACOSX OR IS_LINUX)
set(PLUG_INFO_PATH "Linux-OSX/plugInfo.json")
set(PLUG_INFO_PATH "Linux-OSX/${PLUG_INFO_FILE}")
endif()
)
endif()

configure_file(${PLUG_INFO_PATH} ${CMAKE_CURRENT_BINARY_DIR}/${PLUG_INFO_PATH})
configure_file(${PLUG_INFO_PATH} ${CMAKE_CURRENT_BINARY_DIR}/${PLUG_INFO_FILE})

install(FILES ${PLUG_INFO_PATH}
DESTINATION
Expand Down

0 comments on commit 9c62794

Please sign in to comment.