dynalo
dynalo copied to clipboard
CMake error while adding dependency from dynalo
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)