From b6c8ff68bd2deac549d1f2760ce318eaf61c8815 Mon Sep 17 00:00:00 2001 From: Thad House Date: Thu, 6 Jun 2024 19:52:58 -0700 Subject: [PATCH] Add DependentLoadFlags to CMAKE_MODULE_LINKER_FLAGS (#78) --- build.gradle | 2 +- publish.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 61f90e2..2f81e15 100644 --- a/build.gradle +++ b/build.gradle @@ -212,7 +212,7 @@ if (project.platform == "linux-athena") { args = args + '-DBUILD_SHARED_LIBS=ON' + '-DOPENCV_DEBUG_POSTFIX=d' if (project.platform.contains('windows')) { - args = args + '-DCMAKE_SHARED_LINKER_FLAGS=/DEPENDENTLOADFLAG:0x1100' + args = args + '-DCMAKE_SHARED_LINKER_FLAGS=/DEPENDENTLOADFLAG:0x1100' + '-DCMAKE_MODULE_LINKER_FLAGS=/DEPENDENTLOADFLAG:0x1100' } } else { args = args + '-DBUILD_SHARED_LIBS=OFF' diff --git a/publish.gradle b/publish.gradle index 8739c1a..0242f7c 100644 --- a/publish.gradle +++ b/publish.gradle @@ -13,7 +13,7 @@ publishing { } } -def pubVersion = "${project.ext.version}-3" +def pubVersion = "${project.ext.version}-4" def outputsFolder = file("$project.buildDir/outputs")