--- tpmd/unix/CMakeLists.txt.orig	2011-12-21 03:30:06.000000000 +0900
+++ tpmd/unix/CMakeLists.txt	2012-10-10 01:03:34.000000000 +0900
@@ -10,8 +10,8 @@
 if(MTM_EMULATOR)
 add_definitions(-DMTM_EMULATOR)
 target_link_libraries(tpmd mtm tpm tpm_crypto)
-else()
+else(MTM_EMULATOR)
 target_link_libraries(tpmd tpm tpm_crypto)
-endif()
+endif(MTM_EMULATOR)
 install(TARGETS tpmd RUNTIME DESTINATION bin)
 
