Skip to content

Commit

Permalink
Merge pull request #136 from ut-issl/hotfix/fix_hils_build_error
Browse files Browse the repository at this point in the history
Fix HILS build error
  • Loading branch information
seki-hiro authored May 20, 2022
2 parents 3ac1183 + b782351 commit 473c7d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
# Compile option
if(MSVC)
target_compile_options(${PROJECT_NAME} PUBLIC "/W4")
target_compile_options(${PROJECT_NAME} PUBLIC "/MT")
if(NOT USE_HILS) # /MT option conflicts /clr option in the HILS config.
target_compile_options(${PROJECT_NAME} PUBLIC "/MT")
endif()
target_compile_options(${PROJECT_NAME} PUBLIC "/source-charset:utf-8")
else()
target_compile_options(${PROJECT_NAME} PUBLIC "-Wall")
Expand Down

0 comments on commit 473c7d9

Please sign in to comment.