cmake changes for vhacd

cmake changes to create a new project vhacd as a seperate executable in
tools directory
This commit is contained in:
Virendra Singh 2015-02-21 15:39:16 +05:30
parent b9befc208b
commit ddd137ed60
2 changed files with 14 additions and 0 deletions

View file

@ -3,3 +3,4 @@ add_subdirectory(bitstream2json)
add_subdirectory(json2bitstream)
add_subdirectory(mtc)
add_subdirectory(scribe)
add_subdirectory(vhacd)

View file

@ -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()