Skip to content

CMake / vcpkg configuring issue #272

Description

@prookyon

Apologies if this is something very obvious, but I'm hitting an issue getting SuperNOVAS included.

Both straight CMake and vcpkg throw this error:

[cmake] CMake Error at build/vcpkg_installed/x64-linux/share/supernovas/supernovasConfig.cmake:46 (get_target_property):
[cmake]   get_target_property() called with non-existent target "supernovas::core".
[cmake] Call Stack (most recent call first):
[cmake]   /home/rainer/vcpkg/scripts/buildsystems/vcpkg.cmake:908 (_find_package)
[cmake]   CMakeLists.txt:3 (find_package)

I get the same problem both on Windows using mingw and in Ubuntu

very basic CMakeLists:

cmake_minimum_required(VERSION 3.10)
project(MyCppApp)
find_package(supernovas CONFIG REQUIRED)
add_executable(my_app main.cpp)
target_link_libraries(my_app PRIVATE supernovas)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions