add quotes, it might contain spaces
@@ -155,7 +155,7 @@ class CMakeToolchain(object):
# Install prefix
{% if install_prefix -%}
- set(CMAKE_INSTALL_PREFIX {{install_prefix}} CACHE STRING "" FORCE)
+ set(CMAKE_INSTALL_PREFIX "{{install_prefix}}" CACHE STRING "" FORCE)
{%- endif %}
# Variables
