Index: tpmd/unix/CMakeLists.txt |
diff --git a/tpmd/unix/CMakeLists.txt b/tpmd/unix/CMakeLists.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e1c4e4a9998326d522a23668f19b591b3d654e60 |
--- /dev/null |
+++ b/tpmd/unix/CMakeLists.txt |
@@ -0,0 +1,17 @@ |
+# Software-based Trusted Platform Module (TPM) Emulator |
+# Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net> |
+# |
+# $Id: CMakeLists.txt 377 2010-02-16 14:52:57Z mast $ |
+ |
+include_directories("${PROJECT_SOURCE_DIR}/tpm") |
+ |
+file(GLOB tpmd_SRCS "*.[h|c]") |
+add_executable(tpmd ${tpmd_SRCS}) |
+if(MTM_EMULATOR) |
+add_definitions(-DMTM_EMULATOR) |
+target_link_libraries(tpmd mtm tpm crypto) |
+else() |
+target_link_libraries(tpmd tpm crypto) |
+endif() |
+install(TARGETS tpmd RUNTIME DESTINATION bin) |
+ |