Skip to content

Commit

Permalink
Unset OV_OPTIONS on each cmake run (openvinotoolkit#26001)
Browse files Browse the repository at this point in the history
### Details:
 - Otherwise, options are duplicated with new cmake reruns
  • Loading branch information
ilya-lavrenov authored Aug 9, 2024
1 parent b3440c9 commit c9c5fda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/developer_package/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ if(POLICY CMP0127)
cmake_policy(SET CMP0127 NEW)
endif()

unset(OV_OPTIONS CACHE)

macro(ov_option variable description value)
option(${variable} "${description}" ${value})
list(APPEND OV_OPTIONS ${variable})
Expand Down

0 comments on commit c9c5fda

Please sign in to comment.