Skip to content

Commit

Permalink
CMake: Building jk2mvded alone does not require mvsdk
Browse files Browse the repository at this point in the history
  • Loading branch information
aufau committed Feb 3, 2024
1 parent 55b8504 commit 4fb705e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ option(BuildMVSDK "Whether to build and integrate the mvsdk modules" ON)

set(SystemProcessor "${CMAKE_SYSTEM_PROCESSOR}" CACHE STRING "Option to override CMAKE_SYSTEM_PROCESSOR")

if(NOT EXISTS "${CMAKE_SOURCE_DIR}/src/mvsdk/code/ui/CMakeLists.txt")
if((BuildMVSDK OR BuildMVMP) AND NOT EXISTS "${CMAKE_SOURCE_DIR}/src/mvsdk/code/ui/CMakeLists.txt")
message(FATAL_ERROR "Could not find CMakeLists.txt in \"src/mvsdk/code/ui\". Unable to continue. Make sure you cloned jk2mv including submodules.")
endif()

Expand Down

0 comments on commit 4fb705e

Please sign in to comment.