Skip to content

Commit

Permalink
Add flag
Browse files Browse the repository at this point in the history
  • Loading branch information
fdennis committed Mar 22, 2024
1 parent bbd222e commit faa08c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ykman-cli/ykman-cli.pro
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ mac|win32 {
QMAKE_CLEAN += -r pymodules
}

win32 {
QMAKE_CXXFLAGS += /guard:cf
}

macx {
pip.commands = python3 -m venv pymodules && source pymodules/bin/activate && pip3 install -r ../requirements.txt && deactivate
}
Expand Down
4 changes: 4 additions & 0 deletions ykman-gui/ykman-gui.pro
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ macx {
pip.commands = pip3 install -r ../requirements.txt --target pymodules
}

win32 {
QMAKE_CXXFLAGS += /guard:cf
}

# Default rules for deployment.
include(deployment.pri)

Expand Down

0 comments on commit faa08c8

Please sign in to comment.