summaryrefslogtreecommitdiff
path: root/Libraries/LibPthread/CMakeLists.txt
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-05-06 18:40:06 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-14 20:15:18 +0200
commit450a2a0f9ce2443bc06445ee018c9860d8cd5fc8 (patch)
treec124a612ef259b764855af5e33c39e0d09ad4df2 /Libraries/LibPthread/CMakeLists.txt
parent49727ffee424d8c0038ce18b91b0bf0ff33b1a4d (diff)
downloadserenity-450a2a0f9ce2443bc06445ee018c9860d8cd5fc8.zip
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
Diffstat (limited to 'Libraries/LibPthread/CMakeLists.txt')
-rw-r--r--Libraries/LibPthread/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Libraries/LibPthread/CMakeLists.txt b/Libraries/LibPthread/CMakeLists.txt
new file mode 100644
index 0000000000..7a668f0684
--- /dev/null
+++ b/Libraries/LibPthread/CMakeLists.txt
@@ -0,0 +1,7 @@
+set(SOURCES
+ pthread.cpp
+)
+
+serenity_libc(LibPthread pthread)
+target_link_libraries(LibPthread LibC)
+target_include_directories(LibPthread PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})