summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibM/CMakeLists.txt
blob: 3990dae123a3f21ce011e611911e54fcc639de1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set(SOURCES
    math.cpp
    ../LibC/ssp.cpp
)

set_source_files_properties (../LibC/ssp.cpp PROPERTIES COMPILE_FLAGS
    "-fno-stack-protector")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib")
serenity_libc(LibM m)
#target_link_libraries(LibM)
#set_target_properties(LibM PROPERTIES OUTPUT_NAME m)
#target_link_directories(LibM PUBLIC ${CMAKE_CURRENT_BINARY_DIR})