Skip to content

Commit

Permalink
Fix ac86fcc: elseif() and not else()
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed May 27, 2024
1 parent ac86fcc commit b73f25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ if (FASTGLTF_ENABLE_CPP_MODULES AND FASTGLTF_SUPPORTS_MODULES AND CMAKE_VERSION
)
target_link_libraries(fastgltf_module PRIVATE fastgltf::fastgltf)
target_compile_definitions(fastgltf_module PUBLIC "FASTGLTF_USE_STD_MODULE=$<BOOL:${FASTGLTF_USE_STD_MODULE}>")
else(FASTGLTF_ENABLE_CPP_MODULES)
elseif(FASTGLTF_ENABLE_CPP_MODULES)
message(WARNING "FASTGLTF_ENABLE_CPP_MODULES is ON but compiler does not support them")
endif()

Expand Down

0 comments on commit b73f25b

Please sign in to comment.