summary refs log blame commit diff
path: root/pkgs/development/mobile/webos/cmake-setup-hook.sh
blob: 7e52681e9a91367eae2bf0b7fcb649f3f60e26ec (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                            
_addWebOSCMakeFlags() {
  # Help find the webOS cmake module
  cmakeFlagsArray+=(-DCMAKE_MODULE_PATH=@out@/lib/cmake)

  # fix installation path (doesn't use CMAKE_INSTALL_PREFIX)
  cmakeFlagsArray+=(-DWEBOS_INSTALL_ROOT=${!outputBin})
}

preConfigureHooks+=(_addWebOSCMakeFlags)