Skip to content

Commit

Permalink
Make CMake check if iconv is installed on non-Windows systems.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubiquitatis committed Dec 2, 2011
1 parent 99e7eb6 commit 0577e4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ FIND_PACKAGE( "Threads" REQUIRED )
FIND_PACKAGE( "MySQL" 5.0 REQUIRED )
FIND_PACKAGE( "ZLIB" REQUIRED )

IF ( NOT WIN32)
FIND_PACKAGE( "ICONV" REQUIRED )
ENDIF ( NOT WIN32 )

FIND_PACKAGE( "Boost" REQUIRED )
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
Expand Down

0 comments on commit 0577e4f

Please sign in to comment.