cmake-DCMAKE_INSTALL_PREFIX is not working fine

I was using cmake commands to build a dependency for my project and the code goes like:

~/game.libretro/build$ cmake -DCMAKE_BUILD_TYPE=Debug \
>  -DCMAKE_PREFIX_PATH=$HOME/xbmc \
> -DCMAKE_INSTALL_PREFIX=$HOME/workspae/kodi/addons \
> -DPACKAGE_ZIP=1 \
>       ..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking to see if CXX compiler accepts flag -flto
-- Checking to see if CXX compiler accepts flag -flto - yes
-- Found TinyXML: /usr/lib/x86_64-linux-gnu/libtinyxml.so  
-- Found Rcheevos: /home/shardul/xbmc/lib/librcheevoslib.a  
-- LIBRETRO_VERSION=2.2.0
-- Addon dependency check ...
--  - Added API usage definition: ADDON_GLOBAL_VERSION_MAIN_USED (Version: "1.3.0", Min. Version: "1.2.0")
--  - Added API usage definition: ADDON_GLOBAL_VERSION_GENERAL_USED (Version: "1.0.5", Min. Version: "1.0.4")
--  - Added API usage definition: ADDON_GLOBAL_VERSION_FILESYSTEM_USED (Version: "1.1.6", Min. Version: "1.1.0")
--  - Added API usage definition: ADDON_INSTANCE_VERSION_GAME_USED (Version: "2.1.0", Min. Version: "2.1.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shardul/game.libretro/build

Overall the process completed without any error, but I was unable to locate workspace folder in my home directory. Can someone guide why it happens. Ihave build it once previously that time it was fine, but I had to delete it then due to some reasons but now it showing this wierd behaviour.

First you set the install prefix to workspae instead of workspace, and then nothing is installed until you explicitely call “make install” or “ninja install”.