1 2 3 4 5 6 7 8 9 10 11 12
PLATFORM="darwin" CC="cc" CXX="c++" # Write entries into the cache file before building cmake. WriteCMakeCache() { ${CAT} > CMakeCache.txt <<EOF BUILD_TESTING:BOOL=OFF CURSES_LIBRARY:FILEPATH=/usr/local/lib/libncurses.a EOF }