summaryrefslogtreecommitdiff
path: root/indra/llmeshoptimizer/CMakeLists.txt
blob: 1511e75b39dea6f3c70376dcd2a38592a4379f16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- cmake -*-

project(llmeshoptimizer)

include(Meshoptimizer)

include(00-Common)
include(LLCommon)
include(LLMath)

set(llmeshoptimizer_SOURCE_FILES
        llmeshoptimizer.cpp
        )

set(llmeshoptimizer_HEADER_FILES
        CMakeLists.txt
        llmeshoptimizer.h
        )

set_source_files_properties(${llmeshoptimizer_HEADER_FILES}
        PROPERTIES HEADER_FILE_ONLY TRUE)

list(APPEND llmeshoptimizer_SOURCE_FILES ${llmeshoptimizer_HEADER_FILES})

add_library (llmeshoptimizer ${llmeshoptimizer_SOURCE_FILES})
target_include_directories( llmeshoptimizer INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})

target_link_libraries(llmeshoptimizer
        llcommon
        llmath
        ll::meshoptimizer)

include(LibraryInstall)

# Add tests