From c86f851fd8f42b59e6a448f1cbb3bbe93dc97416 Mon Sep 17 00:00:00 2001 From: HanzZ Date: Thu, 27 Oct 2011 10:35:18 +0200 Subject: [PATCH] Don't check for popt on windows --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 782147c4..16700072 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,8 +18,10 @@ find_package(purple) set(glib_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") find_package(glib) -set(popt_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") -find_package(popt) +if (NOT WIN32) + set(popt_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") + find_package(popt) +endif() set(event_DIR "${CMAKE_SOURCE_DIR}/cmake_modules") find_package(event)