Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
cmake: ah, 'shared', as in, library, not as in 'no copy paste'
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux committed Jul 17, 2018
1 parent 6e0c233 commit b6f9e4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mkcmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ def main():
set(CMAKE_C_FLAGS_RELEASE "${{CMAKE_C_FLAGS_RELEASE}} /MT /GL")
set(CMAKE_CXX_FLAGS_RELEASE "${{CMAKE_CXX_FLAGS_RELEASE}} /MT /GL")
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG ${{CMAKE_SHARED_LINKER_FLAGS_DEBUG}} /guard:cf)
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE ${{CMAKE_SHARED_LINKER_FLAGS_RELEASE}} /guard:cf /ltcg /opt:ref)
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${{CMAKE_EXE_LINKER_FLAGS_DEBUG}} /guard:cf")
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${{CMAKE_EXE_LINKER_FLAGS_RELEASE}} /guard:cf /ltcg /opt:ref")
endif (MSVC)
if (CMAKE_CL_64)
Expand Down

0 comments on commit b6f9e4e

Please sign in to comment.