From ddd137ed60ff96800531a17adee0dc4a8c2921e7 Mon Sep 17 00:00:00 2001 From: Virendra Singh Date: Sat, 21 Feb 2015 15:39:16 +0530 Subject: [PATCH] cmake changes for vhacd cmake changes to create a new project vhacd as a seperate executable in tools directory --- tools/CMakeLists.txt | 1 + tools/vhacd/CMakeLists.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 tools/vhacd/CMakeLists.txt diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index a13933ba5e..57fe18c53f 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -3,3 +3,4 @@ add_subdirectory(bitstream2json) add_subdirectory(json2bitstream) add_subdirectory(mtc) add_subdirectory(scribe) +add_subdirectory(vhacd) diff --git a/tools/vhacd/CMakeLists.txt b/tools/vhacd/CMakeLists.txt new file mode 100644 index 0000000000..ee82cd599d --- /dev/null +++ b/tools/vhacd/CMakeLists.txt @@ -0,0 +1,13 @@ +set(TARGET_NAME vhacd) +setup_hifi_project() +link_hifi_libraries(shared model fbx gpu networking octree) + +find_package(VHACD REQUIRED) +target_include_directories(${TARGET_NAME} PUBLIC ${VHACD_INCLUDE_DIRS}) +target_link_libraries(${TARGET_NAME} ${VHACD_LIBRARIES}) + +add_dependency_external_project(glm) +find_package(GLM REQUIRED) +target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS}) + +include_dependency_includes() \ No newline at end of file