Fixed client build variables

This commit is contained in:
WolverinDEV 2019-07-05 21:02:09 +02:00
parent 3807c26d60
commit 6278e0b813

View File

@ -45,6 +45,8 @@ function compile_native() {
[[ ! -z "$tearoot_cmake_module" ]] && _arguments="${_arguments} -DCMAKE_MODULE_PATH=\"$tearoot_cmake_module\""
[[ ! -z "$tearoot_cmake_config" ]] && _arguments="${_arguments} -DCMAKE_PLATFORM_INCLUDE=\"$tearoot_cmake_config\""
[[ ! -z "$traroot_library" ]] && _arguments="${_arguments} -DLIBRARY_PATH=\"$traroot_library\""
echo "Native arguments: ${_arguments}"
cmake ../../ -DCMAKE_BUILD_TYPE=RelWithDebInfo ${_arguments}
check_err_exit ${project_name} "Failed create build targets!"