diff --git a/CMakeLists.txt b/CMakeLists.txt
index 654d2f076643824a516e31e5f8ee31068c8b60d8..0a7f978f81313ecc3a657dd670d2a16db3cd4e8d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -85,7 +85,7 @@ message(STATUS ${vkcv_libraries})
 # add sub-projects/examples as targets
 add_subdirectory(projects)
 
-if (WIN32)
+if (NOT WIN32)
 	# add doxygen as target if installed
 	include(${vkcv_config}/ext/Doxygen.cmake)
 endif()
\ No newline at end of file