Remove assimp
This commit is contained in:
parent
6ec7ddc655
commit
9f479dc808
1 changed files with 1 additions and 23 deletions
|
|
@ -58,27 +58,6 @@ if (${ENABLE_COVERAGE})
|
|||
list(APPEND LINKER_FLAGS gcov)
|
||||
endif ()
|
||||
|
||||
fetchcontent_declare(
|
||||
assimp
|
||||
GIT_REPOSITORY https://github.com/assimp/assimp.git
|
||||
GIT_TAG v6.0.3
|
||||
GIT_SHALLOW ON
|
||||
)
|
||||
set(BUILD_SHARED_LIBS ON)
|
||||
set(ASSIMP_NO_EXPORT ON)
|
||||
set(ASSIMP_INSTALL OFF)
|
||||
set(ASSIMP_BUILD_ZLIB OFF)
|
||||
set(ASSIMP_BUILD_TESTS OFF)
|
||||
set(ASSIMP_WARNINGS_AS_ERRORS OFF)
|
||||
set(ASSIMP_INSTALL_PDB OFF)
|
||||
set(ASSIMP_INJECT_DEBUG_POSTFIX OFF)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set(ASSIMP_INJECT_DEBUG_POSTFIX ON)
|
||||
else ()
|
||||
set(ASSIMP_INJECT_DEBUG_POSTFIX OFF)
|
||||
endif ()
|
||||
fetchcontent_makeavailable(assimp)
|
||||
|
||||
fetchcontent_declare(
|
||||
spdlog
|
||||
GIT_REPOSITORY https://github.com/gabime/spdlog.git
|
||||
|
|
@ -108,7 +87,6 @@ set_target_properties(LearnGtk4 assimp spdlog_header_only PROPERTIES
|
|||
)
|
||||
|
||||
target_compile_definitions(LearnGtk4 PUBLIC $<$<CONFIG:Debug>:_GLIBCXX_DEBUG>)
|
||||
target_compile_definitions(assimp PUBLIC $<$<CONFIG:Debug>:_GLIBCXX_DEBUG>)
|
||||
target_compile_options(LearnGtk4 PUBLIC ${COMPILE_FLAGS})
|
||||
target_link_options(LearnGtk4 PUBLIC ${LINKER_OPTIONS})
|
||||
target_link_libraries(LearnGtk4 PkgConfig::GTKMM4 assimp spdlog_header_only BillySheet)
|
||||
target_link_libraries(LearnGtk4 PkgConfig::GTKMM4 spdlog_header_only BillySheet)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue