瀏覽代碼

Add CXX directive

Eric Ramat 2 年之前
父節點
當前提交
d33a0f8e9a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/CMakeLists.txt

+ 1 - 0
src/CMakeLists.txt

@@ -13,6 +13,7 @@ TARGET_LINK_LIBRARIES(artislib ${Boost_LIBRARIES})
 SET_TARGET_PROPERTIES(artislib PROPERTIES
         VERSION 0
         OUTPUT_NAME "artis-star-${ARTIS_VERSION_SHORT}"
+        LINKER_LANGUAGE CXX
         CLEAN_DIRECT_OUTPUT 1)
 
 INSTALL(TARGETS artislib RUNTIME DESTINATION bin LIBRARY DESTINATION