aboutsummaryrefslogtreecommitdiff
path: root/cmake/tuklib_cpucores.cmake (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-07-12CMake: Fix compatibility with CMake 3.13.Lasse Collin1-2/+2
The syntax "if(DEFINED CACHE{FOO})" requires CMake 3.14. In some other places the code treats the cache variables like normal variables already (${FOO} or if(FOO) is used, not ${CACHE{FOO}). Thanks to ygrek for reporting the bug on IRC.
2020-03-11Build: Add very limited experimental CMake support.Lasse Collin1-0/+175
This version matches CMake files in the master branch (commit 265daa873c0d871f5f23f9b56e133a6f20045a0a) except that this omits two source files that aren't in v5.2 and in the beginning of CMakeLists.txt the first paragraph in the comment is slightly different to point out possible issues in building shared liblzma.