ksherlock / mpw

Macintosh Programmer's Workshop (mpw) compatibility layer
238 stars 21 forks source link

libsane directory does not contain CMakeLists.txt #35

Closed sdubois closed 4 years ago

sdubois commented 4 years ago

Trying to build this on Mojave and getting the following error. Any ideas?

`steven@mayo:~/mpw/build$ cmake .. -- The CXX compiler identification is AppleClang 10.0.1.10010046 -- The C compiler identification is AppleClang 10.0.1.10010046 -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMake Error at CMakeLists.txt:28 (add_subdirectory): The source directory

/Users/steven/mpw/libsane

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred! See also "/Users/steven/mpw/build/CMakeFiles/CMakeOutput.log". `

sdubois commented 4 years ago

Welp I should have googled more. Solution is to run

git submodule update --init --recursive