Commit a421c501 authored by Dominik Charousset's avatar Dominik Charousset

use C++ compiler for ASM files

parent 5dd6e2b6
...@@ -69,7 +69,7 @@ set(boost_context third_party/boost_context/) ...@@ -69,7 +69,7 @@ set(boost_context third_party/boost_context/)
if(APPLE) if(APPLE)
set_property(SOURCE set_property(SOURCE
${boost_context}/src/asm/fcontext_x86_64_sysv_macho_gas.S ${boost_context}/src/asm/fcontext_x86_64_sysv_macho_gas.S
PROPERTY LANGUAGE C) PROPERTY LANGUAGE CXX)
set(LIBCPPA_SRC set(LIBCPPA_SRC
${LIBCPPA_SRC} ${LIBCPPA_SRC}
${boost_context}/src/stack_utils_posix.cpp ${boost_context}/src/stack_utils_posix.cpp
...@@ -81,12 +81,12 @@ elseif(UNIX) ...@@ -81,12 +81,12 @@ elseif(UNIX)
if(CMAKE_SIZEOF_VOID_P EQUAL 4) if(CMAKE_SIZEOF_VOID_P EQUAL 4)
set_property(SOURCE set_property(SOURCE
${boost_context}/src/asm/fcontext_i386_sysv_elf_gas.S ${boost_context}/src/asm/fcontext_i386_sysv_elf_gas.S
PROPERTY LANGUAGE C) PROPERTY LANGUAGE CXX)
set(fcontext_asm ${boost_context}/src/asm/fcontext_i386_sysv_elf_gas.S) set(fcontext_asm ${boost_context}/src/asm/fcontext_i386_sysv_elf_gas.S)
else() else()
set_property(SOURCE set_property(SOURCE
${boost_context}/src/asm/fcontext_x86_64_sysv_elf_gas.S ${boost_context}/src/asm/fcontext_x86_64_sysv_elf_gas.S
PROPERTY LANGUAGE C) PROPERTY LANGUAGE CXX)
set(fcontext_asm ${boost_context}/src/asm/fcontext_x86_64_sysv_elf_gas.S) set(fcontext_asm ${boost_context}/src/asm/fcontext_x86_64_sysv_elf_gas.S)
endif() endif()
set(LIBCPPA_SRC set(LIBCPPA_SRC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment