Clean some CMakeLists.txt files.

This commit is contained in:
f3nix 2009-06-21 13:37:27 +00:00
parent 59b440fe7b
commit 7fc9e5f177
5 changed files with 47 additions and 49 deletions

View File

@ -198,7 +198,6 @@ endif(UNIX)
# FreeDesktop .desktop and MIME resources
###
if(UNIX)
# Set paths
set(UNIX_MIME_DIR resources/linux/mime)
set(UNIX_MIMELNK_FILES ${UNIX_MIME_DIR}/mimelnk)
@ -229,5 +228,4 @@ if(UNIX)
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
COMPONENT resources
PATTERN ".svn" EXCLUDE)
endif(UNIX)

View File

@ -1,8 +1,8 @@
IF(WIN32)
ADD_DEFINITIONS( -D_MSWVC_ )
ELSE(WIN32)
ADD_DEFINITIONS( -D__UNIX__ )
ENDIF(WIN32)
if(WIN32)
add_definitions(-D_MSWVC_)
else(WIN32)
add_definitions(-D__UNIX__)
endif(WIN32)
include_directories(../include)