We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMakeLists.txt:
cmake_minimum_required(VERSION 3.10) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/magnum/modules") add_subdirectory(corrade) add_subdirectory(magnum) find_package(Magnum REQUIRED COMPONENTS ObjImporter)
Command line:
cmake .. -DWITH_OBJIMPORTER=ON
Error:
CMake Error at /home/shc/code/repos/cmake-3.11.1/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Magnum (missing: ObjImporter) Call Stack (most recent call first): /home/shc/code/repos/cmake-3.11.1/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) magnum/modules/FindMagnum.cmake:916 (find_package_handle_standard_args) CMakeLists.txt:8 (find_package)
if ObjImporter is removed from find_package line, it can acturally be built and used with target name ObjImporter but not Magnum::ObjImporter.
ObjImporter
find_package
Magnum::ObjImporter
The text was updated successfully, but these errors were encountered:
Hi,
thanks for the very detailed report! 👍 Helped me a lot with tracking this one down.
Turns out it was due to a single, very embarrassing typo 😆 Should be fixed in e830892. Please complain if you find further problems ;)
Sorry, something went wrong.
mosra
No branches or pull requests
CMakeLists.txt:
Command line:
Error:
if
ObjImporter
is removed fromfind_package
line, it can acturally be built and used with target nameObjImporter
but notMagnum::ObjImporter
.The text was updated successfully, but these errors were encountered: