Skip to content

CMake error while adding dependency from dynalo #3

Open
@Mr-Question

Description

Addition of dynalo to target project causes CMake error on Linux:

The CMake use case, version 3.16.2:
add_subdirectory (dynalo)

Result:
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_C_COMPILE_OBJECT
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
*** cmake process exited with exit code 1.

Solution:
project language should be specified both for dynalo and test projects as follows:
project(project LANGUAGES CXX)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions