Skip to content

Commit

Permalink
Define LIBAJANTV2_DIR if not already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
paulh-aja committed Feb 16, 2024
1 parent e736fee commit b6acce6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ option(AJANTV2_DISABLE_TESTS "Disable building libajantv2 tests?"
option(AJANTV2_DISABLE_TOOLS "Disable building libajantv2 tools?" OFF)
option(AJANTV2_DISABLE_PLUGINS "Disable building libajantv2 plugins?" OFF)

if (NOT DEFINED LIBAJANTV2_DIR)
set(LIBAJANTV2_DIR ${CMAKE_CURRENT_SOURCE_DIR})
endif()

if(NOT AJANTV2_BUILD_OPENSOURCE)
if (NOT DEFINED LIBAJANTV2_PRIVATE_DIR)
set(LIBAJANTV2_PRIVATE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../libajantv2-private)
Expand Down

0 comments on commit b6acce6

Please sign in to comment.