albertodemichelis / squirrel

Official repository for the programming language Squirrel
http://www.squirrel-lang.org
MIT License
894 stars 148 forks source link

Move CMake installer line in if() statement #249

Closed Semphriss closed 2 years ago

Semphriss commented 2 years ago

Fixes #243

There is a line in CMakeLists.txt which prevents builds with SQ_DISABLE_INSTALLER from working properly. It seems to be a line that should be guarded by if(NOT SQ_DISABLE_INSTALLER AND NOT SQ_DISABLE_CMAKE_INSTALLER), so I moved it inside the block.