fix build script

This commit is contained in:
Roland Grinis 2021-08-03 09:38:48 +01:00
parent 79de6700e7
commit 84570549e2

View File

@ -150,8 +150,9 @@ val configureCpp by tasks.registering {
jNoaDir, jNoaDir,
"-GNinja", "-GNinja",
"-DCMAKE_MAKE_PROGRAM=$ninjaCmd", "-DCMAKE_MAKE_PROGRAM=$ninjaCmd",
"-DCMAKE_C_COMPILER=$clangCmd", // uncomment if Clang required
"-DCMAKE_CXX_COMPILER=$clangxxCmd", //"-DCMAKE_C_COMPILER=$clangCmd",
//"-DCMAKE_CXX_COMPILER=$clangxxCmd",
"-DCMAKE_PREFIX_PATH=$thirdPartyDir/torch/$torchArchive", "-DCMAKE_PREFIX_PATH=$thirdPartyDir/torch/$torchArchive",
"-DJAVA_HOME=$javaHome", "-DJAVA_HOME=$javaHome",
"-DBUILD_JNOA=ON", "-DBUILD_JNOA=ON",