dynalo icon indicating copy to clipboard operation
dynalo copied to clipboard

CMake error while adding dependency from dynalo

Open Mr-Question opened this issue 4 years ago • 0 comments

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)

Mr-Question avatar Nov 14 '20 10:11 Mr-Question