Skip to content
New issue

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

CMake error while adding dependency from dynalo #3

Open
Mr-Question opened this issue Nov 14, 2020 · 0 comments
Open

CMake error while adding dependency from dynalo #3

Mr-Question opened this issue Nov 14, 2020 · 0 comments

Comments

@Mr-Question
Copy link

Mr-Question commented Nov 14, 2020

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant