Skip to content

Commit

Permalink
PREFIX の設定を全コンパイラに適用してもいいとしていたが、GCC のみに適用するようにする
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma committed Sep 5, 2018
1 parent baf47fc commit a4a955b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sakura_lang_en_US/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,7 @@ endif(MSVC)
# https://cmake.org/pipermail/cmake/2012-January/048647.html
set_target_properties(${project_name} PROPERTIES LINKER_LANGUAGE "CXX" )

# https://cmake.org/cmake/help/v3.0/prop_tgt/PREFIX.html?highlight=prefix
set_target_properties(${project_name} PROPERTIES PREFIX "" )
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# https://cmake.org/cmake/help/v3.0/prop_tgt/PREFIX.html?highlight=prefix
set_target_properties(${project_name} PROPERTIES PREFIX "" )
endif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")

0 comments on commit a4a955b

Please sign in to comment.