Do not change build output dir. It causes filename coflict on Unix systems: Linker cannot output 'md2html' if a subdirectory of the same name exists.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3b1d53a..be468a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,6 +27,5 @@ elseif(MSVC)
endif()
-set(EXECUTABLE_OUTPUT_PATH "${PROJECT_BINARY_DIR}")
add_subdirectory(md4c)
add_subdirectory(md2html)