Clean some CMakeLists.txt files.
This commit is contained in:
parent
59b440fe7b
commit
7fc9e5f177
|
@ -198,7 +198,6 @@ endif(UNIX)
|
||||||
# FreeDesktop .desktop and MIME resources
|
# FreeDesktop .desktop and MIME resources
|
||||||
###
|
###
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
|
||||||
# Set paths
|
# Set paths
|
||||||
set(UNIX_MIME_DIR resources/linux/mime)
|
set(UNIX_MIME_DIR resources/linux/mime)
|
||||||
set(UNIX_MIMELNK_FILES ${UNIX_MIME_DIR}/mimelnk)
|
set(UNIX_MIMELNK_FILES ${UNIX_MIME_DIR}/mimelnk)
|
||||||
|
@ -229,5 +228,4 @@ if(UNIX)
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
||||||
COMPONENT resources
|
COMPONENT resources
|
||||||
PATTERN ".svn" EXCLUDE)
|
PATTERN ".svn" EXCLUDE)
|
||||||
|
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
IF(WIN32)
|
if(WIN32)
|
||||||
ADD_DEFINITIONS( -D_MSWVC_ )
|
add_definitions(-D_MSWVC_)
|
||||||
ELSE(WIN32)
|
else(WIN32)
|
||||||
ADD_DEFINITIONS( -D__UNIX__ )
|
add_definitions(-D__UNIX__)
|
||||||
ENDIF(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
|
|
||||||
include_directories(../include)
|
include_directories(../include)
|
||||||
|
|
Loading…
Reference in New Issue