summaryrefslogtreecommitdiffstats
path: root/lib/expat/CMakeLists.txt
blob: 5402663775edfdba8fcad99f278ded73e4bd800f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

cmake_minimum_required (VERSION 2.6)
project (expat)

file(GLOB SOURCE
    "*.c"
    "*.h"
)

# add headers to MSVC project files:
if (WIN32)
	file(GLOB HEADERS "*.h")
	set(SOURCE ${SOURCE} ${HEADERS})
	source_group("Sources" FILES ${SOURCE})
endif()

add_library(expat ${SOURCE})