Skip to content

Commit

Permalink
refactor(cmake): remove unnecessary flag
Browse files Browse the repository at this point in the history
  • Loading branch information
xXenvy committed Aug 21, 2024
1 parent 99945fb commit 9ce5e87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif()

if(MSVC)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /O2 /LTCG")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /O2")
endif()
add_compile_options(/W4 /WX)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Before building Zynk, make sure you have the following software installed:
Then build the project:

```
cmake --build .
cmake --build . --config Release
```

6. **Once the compilation is complete, you can run the Zynk interpreter from the `src` directory:**
Expand Down

0 comments on commit 9ce5e87

Please sign in to comment.