From 2d304f851ce500912f96e7917cdd88a5906af44c 2011-10-27 08:34:58 From: Vitaly Takmazov Date: 2011-10-27 08:34:58 Subject: [PATCH] Merge branch 'master' of https://github.com/hanzz/libtransport --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 782147c4314f8911517053eef1ef218655d15bf2..16700072069f015dc744063a724a6900e2073d3f 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)