17 lines
428 B
CMake
17 lines
428 B
CMake
|
|
set(CMAKE_C_COMPILER ${X_CC_ARCH})
|
|
|
|
|
|
add_library( lccrt_s${X_SUFF} STATIC ${lccrt_s_SOURCE})
|
|
target_include_directories( lccrt_s${X_SUFF} PRIVATE ${lccrt_s_INCLUDE})
|
|
|
|
set_target_properties( lccrt_s${X_SUFF} PROPERTIES
|
|
CMAKE_C_COMPILER ${X_CC_ARCH}
|
|
OUTPUT_NAME lccrt_s
|
|
)
|
|
|
|
install( TARGETS lccrt_s${X_SUFF}
|
|
DESTINATION lib/lccrt/lib/${X_ARCH}
|
|
)
|
|
|