--- tpmd/unix/CMakeLists.txt.orig	2011-12-20 18:30:06 UTC
+++ tpmd/unix/CMakeLists.txt
@@ -10,8 +10,8 @@ add_executable(tpmd ${tpmd_SRCS})
 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)
 
