Skip to content

Commit

Permalink
Add DependentLoadFlags to CMAKE_MODULE_LINKER_FLAGS (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse authored Jun 7, 2024
1 parent cade41f commit b6c8ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ publishing {
}
}

def pubVersion = "${project.ext.version}-3"
def pubVersion = "${project.ext.version}-4"

def outputsFolder = file("$project.buildDir/outputs")

Expand Down

0 comments on commit b6c8ff6

Please sign in to comment.