mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:18:24 +02:00
cmake changes for vhacd
cmake changes to create a new project vhacd as a seperate executable in tools directory
This commit is contained in:
parent
b9befc208b
commit
ddd137ed60
2 changed files with 14 additions and 0 deletions
|
@ -3,3 +3,4 @@ add_subdirectory(bitstream2json)
|
||||||
add_subdirectory(json2bitstream)
|
add_subdirectory(json2bitstream)
|
||||||
add_subdirectory(mtc)
|
add_subdirectory(mtc)
|
||||||
add_subdirectory(scribe)
|
add_subdirectory(scribe)
|
||||||
|
add_subdirectory(vhacd)
|
||||||
|
|
13
tools/vhacd/CMakeLists.txt
Normal file
13
tools/vhacd/CMakeLists.txt
Normal 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()
|
Loading…
Reference in a new issue