Removed the dependency on shlwapi.dll in Win32

This commit is contained in:
Tsuda Kageyu
2013-06-06 13:45:23 +09:00
parent c4c5b06643
commit 36d7f9ba32
7 changed files with 33 additions and 86 deletions

View File

@ -219,15 +219,6 @@ endif()
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
if(WIN32 AND NOT MSVC)
find_package(SHLWAPI)
if(SHLWAPI_FOUND)
set(HAVE_SHLWAPI 1)
else()
set(HAVE_SHLWAPI 0)
endif()
endif()
find_package(CppUnit)
if(NOT CppUnit_FOUND AND BUILD_TESTS)
message(STATUS "CppUnit not found, disabling tests.")