aboutsummaryrefslogtreecommitdiff
path: root/src/jthread/CMakeLists.txt
blob: 6c29671e69b5b33873997aed1ee53807358e575b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if( UNIX )
	set(JTHREAD_SRCS
		${CMAKE_CURRENT_SOURCE_DIR}/pthread/jmutex.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/pthread/jthread.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/pthread/jsemaphore.cpp
		PARENT_SCOPE)
else( UNIX )
	set(JTHREAD_SRCS
		${CMAKE_CURRENT_SOURCE_DIR}/win32/jmutex.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/win32/jthread.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/win32/jsemaphore.cpp
		PARENT_SCOPE)
endif( UNIX )