Skip to content

Commit

Permalink
fix name of C files
Browse files Browse the repository at this point in the history
  • Loading branch information
LandryNorris committed Aug 15, 2023
1 parent 31ed9e3 commit 5bd113a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/rhsplib/RHSPlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ if(CMAKE_CROSSCOMPILING)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
list(APPEND LIB_SOURCES
arch/linux/RHSPlib_time.c
arch/linux/RHSPlib_serial.c
arch/linux/time.c
arch/linux/serial.c
)
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
list(APPEND LIB_SOURCES
arch/linux/RHSPlib_time.c
arch/linux/RHSPlib_serial.c
arch/linux/time.c
arch/linux/serial.c
)
else()
message(FATAL_ERROR "Unsupported architecture for Linux cross-compilation:'${CMAKE_SYSTEM_PROCESSOR}'")
endif()
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
list(APPEND LIB_SOURCES
arch/win/RHSPlib_time.c
arch/win/RHSPlib_serial.c
arch/win/time.c
arch/win/serial.c
)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
else()
Expand Down

0 comments on commit 5bd113a

Please sign in to comment.