mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-16 06:15:06 -05:00
16 lines
500 B
CMake
16 lines
500 B
CMake
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
|
|
${CMAKE_CURRENT_SOURCE_DIR}/pthread/jevent.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
|
|
${CMAKE_CURRENT_SOURCE_DIR}/win32/jevent.cpp
|
|
PARENT_SCOPE)
|
|
endif( UNIX )
|