diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 57fe18c53f..003920a442 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -3,4 +3,8 @@ add_subdirectory(bitstream2json) add_subdirectory(json2bitstream) add_subdirectory(mtc) add_subdirectory(scribe) + +find_package(VHACD) +if(VHACD_FOUND) add_subdirectory(vhacd) +endif() diff --git a/tools/vhacd/CMakeLists.txt b/tools/vhacd/CMakeLists.txt index 51e15c8239..db0cc13e67 100644 --- a/tools/vhacd/CMakeLists.txt +++ b/tools/vhacd/CMakeLists.txt @@ -2,7 +2,7 @@ set(TARGET_NAME vhacd) setup_hifi_project() link_hifi_libraries(shared model fbx gpu networking octree) -find_package(VHACD REQUIRED) +#find_package(VHACD REQUIRED) done in CMakeList.txt in parent directory target_include_directories(${TARGET_NAME} PUBLIC ${VHACD_INCLUDE_DIRS}) target_link_libraries(${TARGET_NAME} ${VHACD_LIBRARIES})