]> git.stg.codes - stg.git/blobdiff - sgauth/CMakeLists.txt
Port to CMake, get rid of os_int.h.
[stg.git] / sgauth / CMakeLists.txt
diff --git a/sgauth/CMakeLists.txt b/sgauth/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fc41d49
--- /dev/null
@@ -0,0 +1,10 @@
+set ( CPP_FILES main.cpp settings_impl.cpp web.cpp )
+
+set ( THREADS_PREFER_PTHREAD_FLAG ON )
+find_package ( Threads REQUIRED )
+
+add_executable ( sgauth ${CPP_FILES} )
+
+target_link_libraries ( sgauth conffiles ia crypto common Threads::Threads )
+
+# TODO: install