Skip to content

Commit

Permalink
fix build type (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeryStk authored Nov 16, 2023
1 parent a2ce504 commit 623791e
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 @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(WIN32)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND ${CMAKE_BUILD_TYPE} STREQUAL "Release")
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND CMAKE_BUILD_TYPE STREQUAL "Release")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
endif()
endif(WIN32)
Expand Down
2 changes: 1 addition & 1 deletion array_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(WIN32)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND ${CMAKE_BUILD_TYPE} STREQUAL "Release")
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND CMAKE_BUILD_TYPE STREQUAL "Release")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
endif()
endif(WIN32)
Expand Down

0 comments on commit 623791e

Please sign in to comment.