summaryrefslogtreecommitdiff
path: root/src/jthread/CMakeLists.txt
blob: be38f87f3bcc3ab57dc1bea109b868f9cc7320a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if( UNIX )
	set(jthread_SRCS pthread/jmutex.cpp pthread/jthread.cpp)
	set(jthread_platform_LIBS "")
else( UNIX )
	set(jthread_SRCS win32/jmutex.cpp win32/jthread.cpp)
	set(jthread_platform_LIBS "")
endif( UNIX )

add_library(jthread ${jthread_SRCS})

target_link_libraries(
	jthread
	${jthread_platform_LIBS}
)