Skip to content

Commit

Permalink
ETISSPlugin.cmake: Only write lib/plugins/list.txt if ETISS_BINARY_DI…
Browse files Browse the repository at this point in the history
…R is set
  • Loading branch information
PhilippvK committed Jul 4, 2024
1 parent 91a2942 commit e47f28d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/ETISSPlugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ MACRO(ETISSPlugin ProjName)
)

# mimicing installation in build tree as well
file(APPEND ${ETISS_BINARY_DIR}/lib/plugins/list.txt
"${ProjName},${ETISS_BINARY_DIR}/lib/plugins,${ProjName}\n")
IF(ETISS_BINARY_DIR)
file(APPEND ${ETISS_BINARY_DIR}/lib/plugins/list.txt
"${ProjName},${ETISS_BINARY_DIR}/lib/plugins,${ProjName}\n")
ENDIF()
ENDMACRO()

MACRO(ETISSPluginArchName ProjName ArchName)
Expand Down

0 comments on commit e47f28d

Please sign in to comment.